Merged revisions 65250 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Sun, 20 May 2007 18:01:05 +0000 (18:01 +0000)
committerJoshua Colp <jcolp@digium.com>
Sun, 20 May 2007 18:01:05 +0000 (18:01 +0000)
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

res/res_agi.c

index 7a4db8f..fd4ac89 100644 (file)
@@ -2177,4 +2177,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,
+               );