X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=route.h;fp=route.h;h=b88712515cc07f5c39fc4e697288f77911b1b99c;hp=7b5fded726baa81ee359ec34954171638592c6fc;hb=0a0643e3a561de5f34927ea80c2bd0ce6405fd3c;hpb=16535fd531476bb05a24a3b69e65ce9a4fa92240 diff --git a/route.h b/route.h index 7b5fded..b887125 100644 --- a/route.h +++ b/route.h @@ -163,16 +163,15 @@ enum { /* how to parse text file during startup */ #define ACTION_GOTO 20 #define ACTION_MENU 21 #define ACTION_DISCONNECT 22 -#define ACTION_HELP 23 -#define ACTION_DEFLECT 24 -#define ACTION_SETFORWARD 25 -#define ACTION_EXECUTE 26 -#define ACTION_FILE 27 -#define ACTION_PICK 28 -#define ACTION_PASSWORD 29 -#define ACTION_PASSWORD_WRITE 30 -#define ACTION_NOTHING 31 -#define ACTION_EFI 32 +#define ACTION_DEFLECT 23 +#define ACTION_SETFORWARD 24 +#define ACTION_EXECUTE 25 +#define ACTION_FILE 26 +#define ACTION_PICK 27 +#define ACTION_PASSWORD 28 +#define ACTION_PASSWORD_WRITE 29 +#define ACTION_NOTHING 30 +#define ACTION_EFI 31 struct route_cond { /* an item */ struct route_cond *next; /* next entry */ @@ -211,13 +210,14 @@ struct route_rule { /* a rule has a list of items and actions */ int line; /* line parsed from */ struct route_cond *cond_first; /* link to condition list */ struct route_action *action_first; /* link to action list */ +// int temp_couldmatch; /* stores, if the dialing could match. this is used to make a list of rules, that could match */ }; struct route_ruleset { /* the ruleset is a list of rules */ struct route_ruleset *next; /* next item */ char file[128]; /* filename */ int line; /* line parsed from */ - char name[64]; /* name of rule */ + char name[64]; /* name of ruleset */ struct route_rule *rule_first; /* linke to rule list */ };