diff options
Diffstat (limited to 'gnu/usr.bin/man/manpath/manpath.h')
-rw-r--r-- | gnu/usr.bin/man/manpath/manpath.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/usr.bin/man/manpath/manpath.h b/gnu/usr.bin/man/manpath/manpath.h new file mode 100644 index 0000000..ab6eb0e --- /dev/null +++ b/gnu/usr.bin/man/manpath/manpath.h @@ -0,0 +1,32 @@ +/* + * manpath.h + * + * Copyright (c) 1990, 1991, John W. Eaton. + * + * You may distribute under the terms of the GNU General Public + * License as specified in the file COPYING that comes with the man + * distribution. + * + * John W. Eaton + * jwe@che.utexas.edu + * Department of Chemical Engineering + * The University of Texas at Austin + * Austin, Texas 78712 + */ + +typedef struct +{ + char mandir[MAXPATHLEN]; + char bin[MAXPATHLEN]; + int type; +} DIRLIST; + +/* manpath types */ +#define MANPATH_NONE 0 +#define MANPATH_MANDATORY 1 /* manpath is mandatory */ +#define MANPATH_OPTIONAL 2 /* manpath is optional */ +#define MANPATH_MAP 3 /* maps path to manpath */ + +DIRLIST list[MAXDIRS]; + +char *tmplist[MAXDIRS]; |