https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r65250 | file | 2007-05-20 13:59:58 -0400 (Sun, 20 May 2007) | 2 lines
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: https://origsvn.digium.com/svn/asterisk/trunk@65253
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
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,
+ );