Mercurial > hg > freeDiameter
comparison extensions/rt_default/rt_default.h @ 1336:cec0812038bb
rt_default: add reload support.
When SIGUSR1 is sent to the freeDiameter process, rt_default reloads
its config file.
Written for Effortel Technologies SA, published with their consent.
author | Thomas Klausner <tk@giga.or.at> |
---|---|
date | Tue, 09 Apr 2019 15:46:50 +0200 |
parents | d59decafe9c0 |
children | 566bb46cc73f |
comparison
equal
deleted
inserted
replaced
1335:870eecffa3fe | 1336:cec0812038bb |
---|---|
80 int rtd_add(enum rtd_crit_type ct, char * criteria, enum rtd_targ_type tt, char * target, int score, int flags); | 80 int rtd_add(enum rtd_crit_type ct, char * criteria, enum rtd_targ_type tt, char * target, int score, int flags); |
81 | 81 |
82 /* Process a message & peer list through the rules repository, updating the scores */ | 82 /* Process a message & peer list through the rules repository, updating the scores */ |
83 int rtd_process( struct msg * msg, struct fd_list * candidates ); | 83 int rtd_process( struct msg * msg, struct fd_list * candidates ); |
84 | 84 |
85 /* Reload the config file */ | |
86 void rtd_conf_reload(char *config_file); | |
87 | |
85 /* For debug: dump the rule repository */ | 88 /* For debug: dump the rule repository */ |
86 void rtd_dump(void); | 89 void rtd_dump(void); |