183 |
#define DEFAULT_SSL_PEM "anubis.pem" |
#define DEFAULT_SSL_PEM "anubis.pem" |
184 |
#define DEFAULT_SIGFILE ".signature" |
#define DEFAULT_SIGFILE ".signature" |
185 |
#define BEGIN_TRIGGER "@@" |
#define BEGIN_TRIGGER "@@" |
|
#define BEGIN_CONTROL "---BEGIN CONTROL---" |
|
|
#define BEGIN_TRANSLATION "---BEGIN TRANSLATION---" |
|
|
#define BEGIN_ALL "---BEGIN ALL---" |
|
|
#define BEGIN_RULE "---BEGIN RULE---" |
|
|
#define BEGIN_GUILE "---BEGIN GUILE---" |
|
|
#define END_SECTION "---END---" |
|
186 |
#define LF "\n" |
#define LF "\n" |
187 |
#define CRLF "\r\n" |
#define CRLF "\r\n" |
188 |
|
|
189 |
/* REGEX action methods */ |
/* REGEX action methods */ |
190 |
|
#define NIL -1 |
191 |
#define COMMAND 0 |
#define COMMAND 0 |
192 |
#define HEADER 1 |
#define HEADER 1 |
193 |
|
|
196 |
#define SERVER 1 |
#define SERVER 1 |
197 |
|
|
198 |
/* configuration file access */ |
/* configuration file access */ |
199 |
/* CLIENT 0 (defined above) */ |
#define CF_CLIENT 0x0001 |
200 |
#define SUPERVISOR 1 |
#define CF_SUPERVISOR 0x0002 |
201 |
#define INIT 2 |
#define CF_INIT 0x0004 |
202 |
|
|
203 |
|
#define CF_ALL CF_INIT|CF_SUPERVISOR|CF_CLIENT |
204 |
|
|
205 |
/* output modes */ |
/* output modes */ |
206 |
#define SILENT 0 |
#define SILENT 0 |
244 |
#define T_BOUNDARY 0x00800000 |
#define T_BOUNDARY 0x00800000 |
245 |
#define T_NORC 0x01000000 |
#define T_NORC 0x01000000 |
246 |
#define T_ALTRC 0x02000000 |
#define T_ALTRC 0x02000000 |
247 |
|
#define T_CHECK_CONFIG 0x04000000 |
248 |
|
|
249 |
/* bit values for mopt */ |
/* bit values for mopt */ |
250 |
#define M_GPG_ENCRYPT 0x00000001 |
#define M_GPG_ENCRYPT 0x00000001 |
334 |
|
|
335 |
/* map.c */ |
/* map.c */ |
336 |
void parse_transmap(int *, char *, char *, char *, int); |
void parse_transmap(int *, char *, char *, char *, int); |
337 |
|
void translate_section_init(); |
338 |
|
|
339 |
/* tunnel.c */ |
/* tunnel.c */ |
340 |
void smtp_session(void *, void *); |
void smtp_session(void *, void *); |
366 |
int regex_match(char *, char *); |
int regex_match(char *, char *); |
367 |
|
|
368 |
/* rc.c */ |
/* rc.c */ |
369 |
|
void rc_system_init(); |
370 |
void open_rcfile(int); |
void open_rcfile(int); |
371 |
void read_rcfile(int); |
void process_rcfile(int method); |
372 |
void read_rcfile_allsection(void); |
void rcfile_process_section(int method, char *name, void *data); |
373 |
#ifdef WITH_GUILE |
void rcfile_process_cond(char *name, int method, char *line); |
|
void read_rcfile_guile(void); |
|
|
#endif |
|
|
void close_rcfile(void); |
|
|
char *parse_line_option(char *); |
|
|
int read_regex_block(int, char *, int); |
|
|
int read_action_block(const char *source_line); |
|
|
unsigned long get_position(char *); |
|
374 |
|
|
375 |
/* help.c */ |
/* help.c */ |
376 |
void print_version(void); |
void print_version(void); |
413 |
void guile_load_program(char *name); |
void guile_load_program(char *name); |
414 |
void guile_rewrite_line(char *procname, const char *source_line); |
void guile_rewrite_line(char *procname, const char *source_line); |
415 |
void guile_postprocess_proc(char *procname, struct list **hdr, char **body); |
void guile_postprocess_proc(char *procname, struct list **hdr, char **body); |
416 |
#endif /* WITH_GUILE */ |
void guile_section_init(); |
417 |
|
#endif |
418 |
|
|
419 |
/* EOF */ |
/* EOF */ |
420 |
|
|