1 /*
2 * zsoelim.h: interface to eliminating .so includes within *roff source
3 *
4 * Copyright (C) 2008 Colin Watson.
5 *
6 * This file is part of man-db.
7 *
8 * man-db is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * man-db is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with man-db; if not, write to the Free Software Foundation,
20 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 */
22
23 #include <stdbool.h>
24
25 #include "gl_list.h"
26
27 bool zsoelim_open_file (const char *filename, gl_list_t manpathlist,
28 const char *parent_path);
29 void zsoelim_parse_file (gl_list_t manpathlist, const char *parent_path);
30
31 struct zsoelim_stdin_data;
32
33 void zsoelim_stdin (void *data);
34 struct zsoelim_stdin_data *zsoelim_stdin_data_new (const char *path,
35 gl_list_t manpathlist);
36 void zsoelim_stdin_data_free (void *data);