X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/1001fe029bca51173d79b3b314825dc33a40bb65..ef62f27d014f39ece5e16500f0a58cdf13c32030:/tag.h diff --git a/tag.h b/tag.h index b6030bb4..ab1388d7 100644 --- a/tag.h +++ b/tag.h @@ -1,4 +1,4 @@ -/* $Id: tag.h,v 1.3 2015/07/25 14:02:06 schwarze Exp $ */ +/* $Id: tag.h,v 1.7 2015/11/20 21:59:54 schwarze Exp $ */ /* * Copyright (c) 2015 Ingo Schwarze * @@ -15,12 +15,17 @@ * 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; + pid_t tcpgid; + pid_t pager_pid; +}; -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); - -__END_DECLS