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