Initial import from FreeBSD RELENG_4:
[dragonfly.git] / gnu / usr.bin / man / manpath / manpath.h
1 /*
2  * manpath.h
3  *
4  * Copyright (c) 1990, 1991, John W. Eaton.
5  *
6  * You may distribute under the terms of the GNU General Public
7  * License as specified in the file COPYING that comes with the man
8  * distribution.
9  *
10  * John W. Eaton
11  * jwe@che.utexas.edu
12  * Department of Chemical Engineering
13  * The University of Texas at Austin
14  * Austin, Texas  78712
15  */
16
17 typedef struct
18 {
19   char mandir[MAXPATHLEN];
20   char bin[MAXPATHLEN];
21   int type;
22 } DIRLIST;
23
24 /* manpath types */
25 #define MANPATH_NONE            0
26 #define MANPATH_MANDATORY       1               /* manpath is mandatory */
27 #define MANPATH_OPTIONAL        2               /* manpath is optional */
28 #define MANPATH_MAP             3               /* maps path to manpath */
29
30 DIRLIST list[MAXDIRS];
31
32 char *tmplist[MAXDIRS];