summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2006-06-30 15:02:40 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2006-06-30 15:02:40 (GMT)
commitcece453761eb1c867dc64c334c4370fd4501843a (patch) (side-by-side diff)
tree6c2427ca14e52a4d9bc839d949fec03e5bc8ec94
parent592e0ae247d579af48263644320db3396250f590 (diff)
downloadmailfromd-cece453761eb1c867dc64c334c4370fd4501843a.tar.gz
mailfromd-cece453761eb1c867dc64c334c4370fd4501843a.tar.bz2
(node_type): New type node_type_dbmap
(struct dbmap_node): New data type (struct node): New member `map'. git-svn-id: file:///svnroot/mailfromd/branches/v_1_0@244 7a8a7f39-df28-0410-adc6-e0d955640f24
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--src/mailfrom.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mailfrom.h b/src/mailfrom.h
index 90d8460..2f58c16 100644
--- a/src/mailfrom.h
+++ b/src/mailfrom.h
@@ -186,7 +186,13 @@ enum node_type {
node_type_rate,
node_type_listens,
node_type_funcall,
- node_type_validuser
+ node_type_validuser,
+ node_type_dbmap
+};
+
+struct dbmap_node {
+ const char *name;
+ NODE *key;
};
struct node {
@@ -203,6 +209,7 @@ struct node {
struct header_node hdr;
struct regex_node re;
struct rate_node rate;
+ struct dbmap_node map;
NODE *node;
} v;
};

Return to:

Send suggestions and report system problems to the System administrator.