xref: /original-bsd/usr.bin/man/config.h (revision 5b874092)
1 /*-
2  * Copyright (c) 1993
3  *	The Regents of the University of California.
4  * All rights reserved.
5  *
6  * %sccs.include.redist.c%
7  *
8  *	@(#)config.h	8.4 (Berkeley) 12/18/93
9  */
10 
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;
18 typedef struct _entry {
19 	TAILQ_ENTRY(_entry) q;		/* Queue of entries. */
20 
21 	char *s;			/* Associated string. */
22 	size_t len;			/* Length of 's'. */
23 } ENTRY;
24 
25 TAILQ_HEAD(_head, _tag);
26 extern struct _head head;
27 
28 TAG	*addlist __P((char *));
29 void	 config __P((char *));
30 void	 debug __P((char *));
31 TAG	*getlist __P((char *));
32