-/* $Id: tag.h,v 1.3 2015/07/25 14:02:06 schwarze Exp $ */
+/* $Id: tag.h,v 1.5 2015/07/28 18:38:55 schwarze Exp $ */
/*
* Copyright (c) 2015 Ingo Schwarze <schwarze@openbsd.org>
*
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+struct tag_files {
+ char ofn[20];
+ char tfn[20];
+ int ofd;
+ int tfd;
+};
+
__BEGIN_DECLS
-char *tag_init(void);
-size_t tag_get(const char *, size_t, int);
-void tag_put(const char *, size_t, int, size_t);
+struct tag_files *tag_init(void);
+void tag_put(const char *, int, size_t);
void tag_write(void);
void tag_unlink(void);