return 0;
}
-int load_module(void)
+static int load_module(void *mod)
{
load_config();
return 0;
}
-int unload_module(void)
+static int unload_module(void *mod)
{
ast_verbose(VERBOSE_PREFIX_1 "Unloading [Sub]Agent Module\n");
return pthread_join(thread, NULL);
}
-int reload(void)
+static int reload(void *mod)
{
ast_verbose(VERBOSE_PREFIX_1 "Reloading [Sub]Agent Module\n");
return 0;
}
-int usecount(void)
-{
- return 0;
-}
-
-const char *key(void)
+static const char *key(void)
{
return ASTERISK_GPL_KEY;
}
-const char *description(void)
+static const char *description(void)
{
return MODULE_DESCRIPTION;
}
+
+STD_MOD(MOD_0, reload, NULL, NULL);