blob: f33c05d2a1047ac3d3a7cb3fd17fc4053620b3d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/* defs.h */
#undef MAXPATHLEN /* make sure struct dirs has a
well-defined size (thanks to
Pierre.Humblet@eurecom.fr) */
#include <sys/param.h>
#define MAN 0
#define CAT 1
#define SCAT 2
#ifndef MAXPATHLEN
#define MAXPATHLEN 1024
#endif
struct dir {
struct dir *nxt;
char *dir;
};
struct dirs {
struct dirs *nxt;
char mandir[MAXPATHLEN];
char catdir[MAXPATHLEN];
char bindir[MAXPATHLEN];
int mandatory;
};
|