164714Sbostic /*- 2*65177Sbostic * Copyright (c) 1993 3*65177Sbostic * The Regents of the University of California. 464714Sbostic * All rights reserved. 564714Sbostic * 664714Sbostic * %sccs.include.redist.c% 764714Sbostic * 8*65177Sbostic * @(#)config.h 8.4 (Berkeley) 12/18/93 964714Sbostic */ 1064714Sbostic 1164946Sbostic typedef struct _tag { 1264946Sbostic TAILQ_ENTRY(_tag) q; /* Queue of tags. */ 1364946Sbostic 1464946Sbostic TAILQ_HEAD(tqh, _entry) list; /* Queue of entries. */ 1564946Sbostic char *s; /* Associated string. */ 1664946Sbostic size_t len; /* Length of 's'. */ 1764946Sbostic } TAG; 1864714Sbostic typedef struct _entry { 1964946Sbostic TAILQ_ENTRY(_entry) q; /* Queue of entries. */ 2064946Sbostic 2164946Sbostic char *s; /* Associated string. */ 2264946Sbostic size_t len; /* Length of 's'. */ 2364714Sbostic } ENTRY; 2464714Sbostic 2564946Sbostic TAILQ_HEAD(_head, _tag); 2664946Sbostic extern struct _head head; 2764714Sbostic 2864946Sbostic TAG *addlist __P((char *)); 2964715Sbostic void config __P((char *)); 3064714Sbostic void debug __P((char *)); 3164946Sbostic TAG *getlist __P((char *)); 32