freebsd-dev/gnu/usr.bin/man/manpath/manpath.h

33 lines
707 B
C
Raw Normal View History

1993-07-07 23:07:02 +00:00
/*
* 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
1995-05-30 05:05:38 +00:00
* distribution.
1993-07-07 23:07:02 +00:00
*
* 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;
1993-07-07 23:07:02 +00:00
} 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 */
1993-07-07 23:07:02 +00:00
DIRLIST list[MAXDIRS];
char *tmplist[MAXDIRS];