diff options
author | Steve Murphy <murf@digium.com> | 2006-08-25 20:43:51 +0000 |
---|---|---|
committer | Steve Murphy <murf@digium.com> | 2006-08-25 20:43:51 +0000 |
commit | 51132bbdbf0310749436c519e568126a738a1050 (patch) | |
tree | 25fd0c92bb7447c5a6951056b0d2ae97b6c89782 /utils/ael_main.c | |
parent | 379dc2474516fcff89681edc8a4e184fa7444dbd (diff) |
Changes to fix all problems reported in 7804 are included here.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41150 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils/ael_main.c')
-rw-r--r-- | utils/ael_main.c | 21 |
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); |