summaryrefslogtreecommitdiff
path: root/extensions/rt_ereg/rtereg.h
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/rt_ereg/rtereg.h')
-rw-r--r--extensions/rt_ereg/rtereg.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/extensions/rt_ereg/rtereg.h b/extensions/rt_ereg/rtereg.h
index 495c82f..741c314 100644
--- a/extensions/rt_ereg/rtereg.h
+++ b/extensions/rt_ereg/rtereg.h
@@ -2,7 +2,7 @@
* Software License Agreement (BSD License) *
* Author: Sebastien Decugis <sdecugis@freediameter.net> *
* *
-* Copyright (c) 2011, WIDE Project and NICT *
+* Copyright (c) 2019, WIDE Project and NICT *
* All rights reserved. *
* *
* Redistribution and use of this software in source and binary forms, with or without modification, are *
@@ -57,8 +57,11 @@ struct rtereg_rule {
extern struct rtereg_conf {
int rules_nb; /* Number of rules in the configuration */
struct rtereg_rule *rules; /* The array of rules */
+
+ int level; /* how many levels of AVPs we have to dig down into */
+ int finished; /* AVP fully configured, for configuration file reading */
+ struct dict_object **avps; /* cache the dictionary objects that we are searching */
- struct dict_object * avp; /* cache the dictionary object that we are searching */
-
-} rtereg_conf;
+} *rtereg_conf;
+extern int rtereg_conf_size;