summaryrefslogtreecommitdiff
path: root/parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'parse.h')
-rw-r--r--parse.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/parse.h b/parse.h
index f8b55b7..6a6212a 100644
--- a/parse.h
+++ b/parse.h
@@ -20,36 +20,6 @@
#define _PATH_DDDUP "dddup.conf"
-#define SYS_DYN 0x1
-#define SYS_STAT 0x2
-#define SYS_CUST 0x4
-#define SYS_ALL SYS_DYN|SYS_STAT|SYS_CUST
-
-#if 0
-static struct dd_conf {
- const char *name;
- char *value;
- const int system;
- const int range;
- const int optional;
-} conf[] = {
- { "username", NULL, SYS_ALL, VAL_STR, OPT_NO },
- { "password", NULL, SYS_ALL, VAL_STR, OPT_NO },
-/* { "system", NULL, SYS_ALL, VAL_STR, OPT_YES }, */
- { "dyndns", NULL, SYS_DYN, VAL_NONE, OPT_YES },
- { "statdns", NULL, SYS_STAT, VAL_NONE, OPT_YES },
- { "custdns", NULL, SYS_CUST, VAL_NONE, OPT_YES },
- { "hostname", NULL, SYS_ALL, VAL_STR, OPT_NO },
- { "myip", NULL, SYS_ALL, VAL_STR, OPT_YES },
- { "intarface", NULL, SYS_ALL, VAL_STR, OPT_YES },
- { "wildcard", NULL, SYS_DYN|SYS_STAT, VAL_WC, OPT_YES },
- { "mx", NULL, SYS_DYN|SYS_STAT, VAL_STR, OPT_YES },
- { "backmx", NULL, SYS_DYN|SYS_STAT, VAL_YN, OPT_YES },
- { "offline", NULL, SYS_DYN|SYS_CUST, VAL_YN, OPT_YES },
- { NULL, NULL, 0, 0, 0 }
-};
-#endif
-
__BEGIN_DECLS
int parse_config(char *, struct dd_request **);
int free_config(int, struct dd_request **);