[svn-commits] file: trunk r356 - /trunk/res_config_mysql.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Mon Apr 2 09:22:55 MST 2007


Author: file
Date: Mon Apr  2 11:22:55 2007
New Revision: 356

URL: http://svn.digium.com/view/asterisk-addons?view=rev&rev=356
Log:
Apparently standard module declaration does not include reload... so we can't use it!

Modified:
    trunk/res_config_mysql.c

Modified: trunk/res_config_mysql.c
URL: http://svn.digium.com/view/asterisk-addons/trunk/res_config_mysql.c?view=diff&rev=356&r1=355&r2=356
==============================================================================
--- trunk/res_config_mysql.c (original)
+++ trunk/res_config_mysql.c Mon Apr  2 11:22:55 2007
@@ -855,5 +855,9 @@
 	}
 }
 
-AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "MySQL RealTime Configuration Driver");
-
+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "MySQL RealTime Configuration Driver",
+		.load = load_module,
+		.unload = unload_module,
+		.reload = reload,
+		);
+



More information about the svn-commits mailing list