=================================================================== RCS file: /cvs/mandoc/tag.h,v retrieving revision 1.1 retrieving revision 1.6 diff -u -p -r1.1 -r1.6 --- mandoc/tag.h 2015/07/17 22:38:29 1.1 +++ mandoc/tag.h 2015/11/07 14:01:16 1.6 @@ -1,4 +1,4 @@ -/* $Id: tag.h,v 1.1 2015/07/17 22:38:29 schwarze Exp $ */ +/* $Id: tag.h,v 1.6 2015/11/07 14:01:16 schwarze Exp $ */ /* * Copyright (c) 2015 Ingo Schwarze * @@ -15,13 +15,15 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -__BEGIN_DECLS +struct tag_files { + char ofn[20]; + char tfn[20]; + int ofd; + int tfd; +}; -void tag_init(void); -char *tag_filename(void); -size_t tag_get(const char *, size_t); -void tag_put(const char *, size_t, size_t); + +struct tag_files *tag_init(void); +void tag_put(const char *, int, size_t); void tag_write(void); void tag_unlink(void); - -__END_DECLS