1 #ifndef _LINKLIST_H
2 #define _LINKLIST_H
3 
4 struct nlist {  char string[MAXKVAL];     /* list struct for HIDE items   */
5               struct nlist *next; };
6 typedef struct nlist *NLISTPTR;
7 
8 struct glist {  char string[MAXKVAL];     /* list struct for GROUP items  */
9                 char name[MAXKVAL];
10               struct glist *next; };
11 typedef struct glist *GLISTPTR;
12 
13 extern GLISTPTR group_sites   ;               /* "group" lists            */
14 extern GLISTPTR group_urls    ;
15 extern GLISTPTR group_refs    ;
16 extern GLISTPTR group_agents  ;
17 extern GLISTPTR group_users   ;
18 extern NLISTPTR hidden_sites  ;               /* "hidden" lists           */
19 extern NLISTPTR hidden_urls   ;
20 extern NLISTPTR hidden_refs   ;
21 extern NLISTPTR hidden_agents ;
22 extern NLISTPTR hidden_users  ;
23 extern NLISTPTR ignored_sites ;               /* "Ignored" lists          */
24 extern NLISTPTR ignored_urls  ;
25 extern NLISTPTR ignored_refs  ;
26 extern NLISTPTR ignored_agents;
27 extern NLISTPTR ignored_users ;
28 extern NLISTPTR include_sites ;               /* "Include" lists          */
29 extern NLISTPTR include_urls  ;
30 extern NLISTPTR include_refs  ;
31 extern NLISTPTR include_agents;
32 extern NLISTPTR include_users ;
33 extern NLISTPTR index_alias   ;               /* index. aliases            */
34 extern NLISTPTR html_pre      ;               /* before anything else :)   */
35 extern NLISTPTR html_head     ;               /* top HTML code             */
36 extern NLISTPTR html_body     ;               /* body HTML code            */
37 extern NLISTPTR html_post     ;               /* middle HTML code          */
38 extern NLISTPTR html_tail     ;               /* tail HTML code            */
39 extern NLISTPTR html_end      ;               /* after everything else     */
40 extern NLISTPTR page_type     ;               /* page view types           */
41 extern NLISTPTR omit_page     ;               /* pages not counted         */
42 extern NLISTPTR page_prefix   ;               /* page view prefixes        */
43 extern GLISTPTR search_list   ;               /* Search engine list        */
44 
45 extern char     *isinlist(NLISTPTR, char *);        /* scan list for str   */
46 extern char     *isinglist(GLISTPTR, char *);       /* scan glist for str  */
47 extern int      add_nlist(char *, NLISTPTR *);      /* add list item       */
48 extern int      add_glist(char *, GLISTPTR *);      /* add group list item */
49 
50 #endif  /* _LINKLIST_H */
51