-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathargs.h
More file actions
33 lines (28 loc) · 837 Bytes
/
args.h
File metadata and controls
33 lines (28 loc) · 837 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* _ _ ___ __ _ (R)
* | | (_)_ _____ / __|___ _ _ / _(_)__ _
* | |__| \ V / -_) (__/ _ \ ' \| _| / _` |
* |____|_|\_/\___|\___\___/_||_|_| |_\__, |
* |___/
* lcsam - LiveConfig SpamAssassin Milter
*/
#ifndef __LCSAM_ARGS_H
#define __LCSAM_ARGS_H
typedef enum {
ARGS_OK,
ARGS_ERROR,
ARGS_HELP
} args_t;
extern int args_debug;
extern int args_scan_auth;
extern int args_report;
extern float args_scan_auth_score;
extern const char *args_commsocket;
extern const char *args_pidfile;
extern const char *args_spamdsocket;
extern const char *args_usermap;
extern const char *args_user;
extern const char *args_group;
extern const char *args_sock_user;
extern const char *args_sock_group;
args_t args_parse(int argc, char* const* argv);
#endif /* __LCSAM_ARGS_H */