=================================================================== RCS file: /cvs/mandoc/term_tag.h,v retrieving revision 1.1 retrieving revision 1.3 diff -u -p -r1.1 -r1.3 --- mandoc/term_tag.h 2020/03/13 15:32:29 1.1 +++ mandoc/term_tag.h 2020/07/21 15:10:01 1.3 @@ -1,4 +1,4 @@ -/* $Id: term_tag.h,v 1.1 2020/03/13 15:32:29 schwarze Exp $ */ +/* $Id: term_tag.h,v 1.3 2020/07/21 15:10:01 schwarze Exp $ */ /* * Copyright (c) 2015, 2018, 2019, 2020 Ingo Schwarze * @@ -19,9 +19,8 @@ */ struct tag_files { - char ofn[20]; /* Output file name. */ - char tfn[20]; /* Tag file name. */ - char *tagname; /* Target specified with -O. */ + char ofn[80]; /* Output file name. */ + char tfn[80]; /* Tag file name. */ FILE *tfs; /* Tag file object. */ int ofd; /* Original output file descriptor. */ pid_t tcpgid; /* Process group controlling the terminal. */ @@ -29,7 +28,7 @@ struct tag_files { }; -struct tag_files *term_tag_init(char *); +struct tag_files *term_tag_init(const char *, const char *); void term_tag_write(struct roff_node *, size_t); -void term_tag_finish(void); +int term_tag_close(void); void term_tag_unlink(void);