=================================================================== RCS file: /cvs/mandoc/tag.h,v retrieving revision 1.2 retrieving revision 1.9 diff -u -p -r1.2 -r1.9 --- mandoc/tag.h 2015/07/21 03:26:22 1.2 +++ mandoc/tag.h 2019/07/27 13:40:57 1.9 @@ -1,6 +1,6 @@ -/* $Id: tag.h,v 1.2 2015/07/21 03:26:22 schwarze Exp $ */ +/* $Id: tag.h,v 1.9 2019/07/27 13:40:57 schwarze Exp $ */ /* - * Copyright (c) 2015 Ingo Schwarze + * Copyright (c) 2015, 2018, 2019 Ingo Schwarze * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -15,12 +15,18 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -__BEGIN_DECLS +struct tag_files { + char ofn[20]; + char tfn[20]; + char *tagname; + int ofd; + int tfd; + pid_t tcpgid; + pid_t pager_pid; +}; -char *tag_init(void); -size_t tag_get(const char *, size_t); -void tag_put(const char *, size_t, size_t); + +struct tag_files *tag_init(char *); +void tag_put(const char *, int, size_t); void tag_write(void); void tag_unlink(void); - -__END_DECLS