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

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

    OPT_MAX
} opt_name;


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

int getopt_used(opt_name on);

char *
getopt_str(opt_name on);

#endif