1
/* $Id: wordlists_base.h,v 1.14 2004/06/05 19:40:25 relson Exp $ */
3
/* constants and declarations for wordlists_base.c */
5
#ifndef WORDLISTS_CORE_H
6
#define WORDLISTS_CORE_H
12
extern bool config_setup;
14
typedef enum e_WL_TYPE {
19
typedef struct wordlist_s wordlist_t;
22
/*@null@*/ wordlist_t *next;
24
/*@owned@*/ char *listname; /* resource name (for debug/verbose messages) */
25
/*@owned@*/ char *filepath; /* resource path (for debug/verbose messages) */
26
/*@owned@*/ dsh_t *dsh; /* datastore handle */
27
u_int32_t msgcount[IX_SIZE]; /* count of messages in wordlist. */
28
WL_TYPE type; /* 'I' for "ignore" */
32
void init_wordlist(const char* name, const char* path,
33
int override, WL_TYPE type);
35
void free_wordlists(void);
37
wordlist_t * default_wordlist(void);
38
int set_wordlist_dir(const char* dir, priority_t precedence);
40
#endif /* WORDLISTS_CORE_H */