Commit | Line | Data |
---|---|---|
1c81ad0b | 1 | /*- |
3fb56779 KB |
2 | * Copyright (c) 1993 |
3 | * The Regents of the University of California. | |
1c81ad0b KB |
4 | * All rights reserved. |
5 | * | |
6 | * %sccs.include.redist.c% | |
7 | * | |
3fb56779 | 8 | * @(#)config.h 8.4 (Berkeley) %G% |
1c81ad0b KB |
9 | */ |
10 | ||
40870b55 KB |
11 | typedef struct _tag { |
12 | TAILQ_ENTRY(_tag) q; /* Queue of tags. */ | |
13 | ||
14 | TAILQ_HEAD(tqh, _entry) list; /* Queue of entries. */ | |
15 | char *s; /* Associated string. */ | |
16 | size_t len; /* Length of 's'. */ | |
17 | } TAG; | |
1c81ad0b | 18 | typedef struct _entry { |
40870b55 KB |
19 | TAILQ_ENTRY(_entry) q; /* Queue of entries. */ |
20 | ||
21 | char *s; /* Associated string. */ | |
22 | size_t len; /* Length of 's'. */ | |
1c81ad0b KB |
23 | } ENTRY; |
24 | ||
40870b55 KB |
25 | TAILQ_HEAD(_head, _tag); |
26 | extern struct _head head; | |
1c81ad0b | 27 | |
40870b55 | 28 | TAG *addlist __P((char *)); |
d82f672e | 29 | void config __P((char *)); |
1c81ad0b | 30 | void debug __P((char *)); |
40870b55 | 31 | TAG *getlist __P((char *)); |