aboutsummaryrefslogtreecommitdiffstats
path: root/utils/ael_main.c
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-25 20:43:51 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-25 20:43:51 +0000
commit5c397dd961a90d25cbc91f99895db258769b296b (patch)
tree25fd0c92bb7447c5a6951056b0d2ae97b6c89782 /utils/ael_main.c
parent4d8047ba7c7500cd0873c0cfa42882956bf82416 (diff)
Changes to fix all problems reported in 7804 are included here.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41150 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils/ael_main.c')
-rw-r--r--utils/ael_main.c21
1 files changed, 20 insertions, 1 deletions
diff --git a/utils/ael_main.c b/utils/ael_main.c
index e89a4b456..c9f3d9f3c 100644
--- a/utils/ael_main.c
+++ b/utils/ael_main.c
@@ -119,6 +119,24 @@ void ast_add_profile(void)
printf("Executed ast_add_profile();\n");
}
+int ast_loader_register(int (*updater)(void))
+{
+ return 1;
+}
+
+int ast_loader_unregister(int (*updater)(void))
+{
+ return 1;
+}
+void ast_module_register(const struct ast_module_info *x)
+{
+}
+
+void ast_module_unregister(const struct ast_module_info *x)
+{
+}
+
+
void ast_cli_register_multiple(void)
{
if(!no_comp)
@@ -406,6 +424,7 @@ void filter_newlines(char *str)
extern struct module_symbols mod_data;
+extern ael_external_load_module(void);
int main(int argc, char **argv)
{
@@ -455,7 +474,7 @@ int main(int argc, char **argv)
FIRST_TIME = 1;
- ast_module_info->load();
+ ael_external_load_module();
ast_log(4, "ael2_parse", __LINE__, "main", "%d contexts, %d extensions, %d priorities\n", conts, extens, priors);