-/* $Id: tag.h,v 1.7 2015/11/20 21:59:54 schwarze Exp $ */
+/* $Id: tag.h,v 1.9 2019/07/27 13:40:57 schwarze Exp $ */
/*
- * Copyright (c) 2015 Ingo Schwarze <schwarze@openbsd.org>
+ * Copyright (c) 2015, 2018, 2019 Ingo Schwarze <schwarze@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
struct tag_files {
char ofn[20];
char tfn[20];
+ char *tagname;
int ofd;
int tfd;
pid_t tcpgid;
};
-struct tag_files *tag_init(void);
+struct tag_files *tag_init(char *);
void tag_put(const char *, int, size_t);
void tag_write(void);
void tag_unlink(void);