aboutsummaryrefslogtreecommitdiff
path: root/src/options.h
blob: 8ba601624a659ea513d519f8496cf429644b2542 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef POTD_OPTIONS_H
#define POTD_OPTIONS_H 1

typedef enum opt_name {
    OPT_LOGTOFILE = 0, OPT_LOGFILE, OPT_LOGLEVEL,
    OPT_DAEMON,
    OPT_TEST,

    OPT_MAX
} opt_name;


int options_cmdline(int argc, char **argv);

int getopt_used(opt_name on);

char *
getopt_str(opt_name on);

#endif