From c76699a9001901942a2e4a742406ba8696b58779 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Thu, 7 Sep 2006 16:23:35 +0000 Subject: cleanup --- parse.h | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'parse.h') 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 **); -- cgit v1.2.3