diff 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
line wrap: on
line diff
--- a/extensions/rt_default/rt_default.h	Tue Apr 09 15:43:23 2019 +0200
+++ b/extensions/rt_default/rt_default.h	Tue Apr 09 15:46:50 2019 +0200
@@ -82,5 +82,8 @@
 /* Process a message & peer list through the rules repository, updating the scores */
 int rtd_process( struct msg * msg, struct fd_list * candidates );
 
+/* Reload the config file */
+void rtd_conf_reload(char *config_file);
+
 /* For debug: dump the rule repository */
 void rtd_dump(void);
"Welcome to our mercurial repository"