comparison extensions/rt_ereg/rtereg.h @ 1338:f1b65381c1e7

rt_ereg: Support config reload. Support grouped AVPs. Support multiple separate AVPs. Written for Effortel Technologies SA, published with their consent.
author Thomas Klausner <tk@giga.or.at>
date Tue, 09 Apr 2019 15:48:45 +0200
parents d59decafe9c0
children 566bb46cc73f
comparison
equal deleted inserted replaced
1337:d66f60e29b22 1338:f1b65381c1e7
55 55
56 /* The configuration structure */ 56 /* The configuration structure */
57 extern struct rtereg_conf { 57 extern struct rtereg_conf {
58 int rules_nb; /* Number of rules in the configuration */ 58 int rules_nb; /* Number of rules in the configuration */
59 struct rtereg_rule *rules; /* The array of rules */ 59 struct rtereg_rule *rules; /* The array of rules */
60
61 int level; /* how many levels of AVPs we have to dig down into */
62 int finished; /* AVP fully configured, for configuration file reading */
63 struct dict_object **avps; /* cache the dictionary objects that we are searching */
60 64
61 struct dict_object * avp; /* cache the dictionary object that we are searching */ 65 } *rtereg_conf;
62
63 } rtereg_conf;
64 66
67 extern int rtereg_conf_size;
"Welcome to our mercurial repository"