aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_agi.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-20 17:59:58 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-20 17:59:58 +0000
commit86e8e254f4fb48af77b8e7271c53563d54f59e66 (patch)
tree1edd0f480eb28b732c7dd2f6b777a30868e4aaeb /res/res_agi.c
parentf45b7cdb96b7fc4e15390d7fb7849fd14b29acb9 (diff)
res_agi needs to export two symbols (ast_agi_register and ast_agi_unregister) for usage by others. (issue #9755 reported by mnicholson)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@65250 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_agi.c')
-rw-r--r--res/res_agi.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/res/res_agi.c b/res/res_agi.c
index 92d7c89e5..02ca5dccd 100644
--- a/res/res_agi.c
+++ b/res/res_agi.c
@@ -2156,4 +2156,7 @@ static int load_module(void)
return ast_register_application(app, agi_exec, synopsis, descrip);
}
-AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Asterisk Gateway Interface (AGI)");
+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS, "Asterisk Gateway Interface (AGI)",
+ .load = load_module,
+ .unload = unload_module,
+ );