summaryrefslogtreecommitdiffstats
path: root/route.h
diff options
context:
space:
mode:
authorSuper User2007-08-11 10:12:10 +0200
committerSuper User2007-08-11 10:12:10 +0200
commit0a0643e3a561de5f34927ea80c2bd0ce6405fd3c (patch)
tree636f59202db625704b49a6148b2d0a2374714a44 /route.h
parentsome minor fixes (diff)
downloadlcr-0a0643e3a561de5f34927ea80c2bd0ce6405fd3c.tar.gz
lcr-0a0643e3a561de5f34927ea80c2bd0ce6405fd3c.tar.xz
lcr-0a0643e3a561de5f34927ea80c2bd0ce6405fd3c.zip
fixes, debugging for usleep problems.
Diffstat (limited to 'route.h')
-rw-r--r--route.h22
1 files changed, 11 insertions, 11 deletions
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 */
};