[asterisk-commits] kpfleming: branch kpfleming/symbol-namespace-cleanup r180107 - in /team/kpfle...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 3 18:23:09 CST 2009


Author: kpfleming
Date: Tue Mar  3 18:22:52 2009
New Revision: 180107

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=180107
Log:
a bunch of build system changes, designed to actually make the Asterisk symbol namespace pollution problems actually be solved. the strip_nonapi script was an attempt to fix this, but failed completely because it was modifying the wrong symbol table.

with these changes, only the symbols that *should* be exported from the main asterisk binary, and res_* modules, are actually exported, everything else is hidden. this is true even for modules that link to external static libraries, where previously all the symbols from those libraries would be exported into the global symbol namespace as well.


Added:
    team/kpfleming/symbol-namespace-cleanup/default.exports   (with props)
    team/kpfleming/symbol-namespace-cleanup/main/asterisk.exports   (with props)
    team/kpfleming/symbol-namespace-cleanup/res/res_adsi.exports   (with props)
    team/kpfleming/symbol-namespace-cleanup/res/res_agi.exports   (with props)
    team/kpfleming/symbol-namespace-cleanup/res/res_features.exports   (with props)
    team/kpfleming/symbol-namespace-cleanup/res/res_jabber.exports   (with props)
    team/kpfleming/symbol-namespace-cleanup/res/res_monitor.exports   (with props)
    team/kpfleming/symbol-namespace-cleanup/res/res_odbc.exports   (with props)
    team/kpfleming/symbol-namespace-cleanup/res/res_smdi.exports   (with props)
    team/kpfleming/symbol-namespace-cleanup/res/res_speech.exports   (with props)
Removed:
    team/kpfleming/symbol-namespace-cleanup/build_tools/strip_nonapi
Modified:
    team/kpfleming/symbol-namespace-cleanup/Makefile.rules
    team/kpfleming/symbol-namespace-cleanup/main/Makefile
    team/kpfleming/symbol-namespace-cleanup/makeopts.in
    team/kpfleming/symbol-namespace-cleanup/res/res_config_odbc.c
    team/kpfleming/symbol-namespace-cleanup/res/res_config_pgsql.c
    team/kpfleming/symbol-namespace-cleanup/res/res_crypto.c
    team/kpfleming/symbol-namespace-cleanup/res/res_indications.c
    team/kpfleming/symbol-namespace-cleanup/res/res_musiconhold.c
    team/kpfleming/symbol-namespace-cleanup/res/res_snmp.c

Modified: team/kpfleming/symbol-namespace-cleanup/Makefile.rules
URL: http://svn.digium.com/svn-view/asterisk/team/kpfleming/symbol-namespace-cleanup/Makefile.rules?view=diff&rev=180107&r1=180106&r2=180107
==============================================================================
--- team/kpfleming/symbol-namespace-cleanup/Makefile.rules (original)
+++ team/kpfleming/symbol-namespace-cleanup/Makefile.rules Tue Mar  3 18:22:52 2009
@@ -51,8 +51,13 @@
 # per-target settings will be applied
 CC_CFLAGS=$(PTHREAD_CFLAGS) $(ASTCFLAGS)
 CXX_CFLAGS=$(PTHREAD_CFLAGS) $(filter-out -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations $(AST_DECLARATION_AFTER_STATEMENT),$(ASTCFLAGS))
-CC_LDFLAGS_SO=$(PTHREAD_CFLAGS) $(ASTLDFLAGS) $(SOLINK)
-CXX_LDFLAGS_SO=$(PTHREAD_CFLAGS) $(ASTLDFLAGS) $(SOLINK)
+
+ifeq ($(GNU_LD),1)
+SO_SUPPRESS_SYMBOLS=-Wl,--version-script,$(if $(wildcard $(subst .so,.exports,$@)),$(subst .so,.exports,$@),$(ASTTOPDIR)/default.exports)
+endif
+
+CC_LDFLAGS_SO=$(PTHREAD_CFLAGS) $(ASTLDFLAGS) $(SOLINK) $(SO_SUPPRESS_SYMBOLS)
+CXX_LDFLAGS_SO=$(PTHREAD_CFLAGS) $(ASTLDFLAGS) $(SOLINK) $(SO_SUPPRESS_SYMBOLS)
 CC_LIBS=$(PTHREAD_LIBS) $(LIBS)
 CXX_LIBS=$(PTHREAD_LIBS) $(LIBS)
 

Added: team/kpfleming/symbol-namespace-cleanup/default.exports
URL: http://svn.digium.com/svn-view/asterisk/team/kpfleming/symbol-namespace-cleanup/default.exports?view=auto&rev=180107
==============================================================================
--- team/kpfleming/symbol-namespace-cleanup/default.exports (added)
+++ team/kpfleming/symbol-namespace-cleanup/default.exports Tue Mar  3 18:22:52 2009
@@ -1,0 +1,4 @@
+{
+	local:
+		*;
+};

Propchange: team/kpfleming/symbol-namespace-cleanup/default.exports
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: team/kpfleming/symbol-namespace-cleanup/default.exports
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: team/kpfleming/symbol-namespace-cleanup/default.exports
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: team/kpfleming/symbol-namespace-cleanup/main/Makefile
URL: http://svn.digium.com/svn-view/asterisk/team/kpfleming/symbol-namespace-cleanup/main/Makefile?view=diff&rev=180107&r1=180106&r2=180107
==============================================================================
--- team/kpfleming/symbol-namespace-cleanup/main/Makefile (original)
+++ team/kpfleming/symbol-namespace-cleanup/main/Makefile Tue Mar  3 18:22:52 2009
@@ -94,6 +94,10 @@
   ASTLINK=
 endif
 
+ifeq ($(GNU_LD),1)
+ASTLINK+=-Wl,--version-script,asterisk.exports
+endif
+
 editline/libedit.a:
 	cd editline && test -f config.h || CFLAGS="$(PTHREAD_CFLAGS) $(subst $(ASTTOPDIR),../../,$(ASTCFLAGS:-Werror=))" LDFLAGS="$(ASTLDFLAGS)" ./configure --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) --with-ncurses=$(NCURSES_DIR) --with-curses=$(CURSES_DIR) --with-termcap=$(TERMCAP_DIR) --with-tinfo=$(TINFO_DIR)
 	$(MAKE) -C editline libedit.a
@@ -133,20 +137,19 @@
   H323LDLIBS=
 endif
 
-asterisk: $(OBJS) editline/libedit.a db1-ast/libdb1.a $(AST_EMBED_LDSCRIPTS)
+asterisk: $(OBJS) editline/libedit.a db1-ast/libdb1.a $(AST_EMBED_LDSCRIPTS) asterisk.exports
 	@$(ASTTOPDIR)/build_tools/make_build_h > $(ASTTOPDIR)/include/asterisk/build.h.tmp
 	@if cmp -s $(ASTTOPDIR)/include/asterisk/build.h.tmp $(ASTTOPDIR)/include/asterisk/build.h ; then echo ; else \
 		mv $(ASTTOPDIR)/include/asterisk/build.h.tmp $(ASTTOPDIR)/include/asterisk/build.h ; \
 	fi
 	@rm -f $(ASTTOPDIR)/include/asterisk/build.h.tmp
 	@$(CC) -c -o buildinfo.o $(ASTCFLAGS) buildinfo.c
-	$(ECHO_PREFIX) echo "   [LD] $^ -> $@"
+	$(ECHO_PREFIX) echo "   [LD] $(OBJS) editline/libedit.a db1-ast/libdb1.a $(AST_EMBED_LDSCRIPTS) -> $@"
 ifneq ($(findstring chan_h323,$(MENUSELECT_CHANNELS)),)
-	$(CMD_PREFIX) $(CC) $(STATIC_BUILD) -o $@ $(ASTLINK) $(AST_EMBED_LDFLAGS) $(ASTLDFLAGS) $^ buildinfo.o $(AST_LIBS) $(AST_EMBED_LIBS)
+	$(CMD_PREFIX) $(CC) $(STATIC_BUILD) -o $@ $(ASTLINK) $(AST_EMBED_LDFLAGS) $(ASTLDFLAGS) $(OBJS) editline/libedit.a db1-ast/libdb1.a $(AST_EMBED_LDSCRIPTS) buildinfo.o $(AST_LIBS) $(AST_EMBED_LIBS)
 else
-	$(CMD_PREFIX) $(CXX) $(STATIC_BUILD) -o $@ $(ASTLINK) $(AST_EMBED_LDFLAGS) $(ASTLDFLAGS) $(H323LDFLAGS) $^ buildinfo.o $(AST_LIBS) $(AST_EMBED_LIBS) $(H323LDLIBS)
+	$(CMD_PREFIX) $(CXX) $(STATIC_BUILD) -o $@ $(ASTLINK) $(AST_EMBED_LDFLAGS) $(ASTLDFLAGS) $(H323LDFLAGS) $(OBJS) editline/libedit.a db1-ast/libdb1.a $(AST_EMBED_LDSCRIPTS) buildinfo.o $(AST_LIBS) $(AST_EMBED_LIBS) $(H323LDLIBS)
 endif
-	$(CMD_PREFIX) $(ASTTOPDIR)/build_tools/strip_nonapi $@ || rm $@
 
 clean::
 	rm -f asterisk

Added: team/kpfleming/symbol-namespace-cleanup/main/asterisk.exports
URL: http://svn.digium.com/svn-view/asterisk/team/kpfleming/symbol-namespace-cleanup/main/asterisk.exports?view=auto&rev=180107
==============================================================================
--- team/kpfleming/symbol-namespace-cleanup/main/asterisk.exports (added)
+++ team/kpfleming/symbol-namespace-cleanup/main/asterisk.exports Tue Mar  3 18:22:52 2009
@@ -1,0 +1,28 @@
+{
+	global:
+		ast_*;
+		_ast_*;
+		__ast_*;
+		pbx_*;
+		astman_*;
+		ao2_*;
+		__ao2_*;
+		option_debug;
+		option_verbose;
+		dahdi_chan_name;
+		dahdi_chan_name_len;
+		dahdi_chan_mode;
+		cid_di;
+		cid_dr;
+		clidsb;
+		MD5*;
+		sched_*;
+		io_*;
+		jb_*;
+		channelreloadreason2txt;
+		devstate2str;
+		manager_event;
+		dialed_interface_info;
+	local:
+		*;
+};

Propchange: team/kpfleming/symbol-namespace-cleanup/main/asterisk.exports
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: team/kpfleming/symbol-namespace-cleanup/main/asterisk.exports
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: team/kpfleming/symbol-namespace-cleanup/main/asterisk.exports
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: team/kpfleming/symbol-namespace-cleanup/makeopts.in
URL: http://svn.digium.com/svn-view/asterisk/team/kpfleming/symbol-namespace-cleanup/makeopts.in?view=diff&rev=180107&r1=180106&r2=180107
==============================================================================
--- team/kpfleming/symbol-namespace-cleanup/makeopts.in (original)
+++ team/kpfleming/symbol-namespace-cleanup/makeopts.in Tue Mar  3 18:22:52 2009
@@ -42,6 +42,8 @@
 
 PTHREAD_CFLAGS=@PTHREAD_CFLAGS@
 PTHREAD_LIBS=@PTHREAD_LIBS@
+
+GNU_LD=@GNU_LD@
 
 prefix = @prefix@
 exec_prefix = @exec_prefix@

Added: team/kpfleming/symbol-namespace-cleanup/res/res_adsi.exports
URL: http://svn.digium.com/svn-view/asterisk/team/kpfleming/symbol-namespace-cleanup/res/res_adsi.exports?view=auto&rev=180107
==============================================================================
--- team/kpfleming/symbol-namespace-cleanup/res/res_adsi.exports (added)
+++ team/kpfleming/symbol-namespace-cleanup/res/res_adsi.exports Tue Mar  3 18:22:52 2009
@@ -1,0 +1,33 @@
+{
+	global:
+		ast_adsi_available;
+		ast_adsi_begin_download;
+		ast_adsi_channel_restore;
+		ast_adsi_clear_screen;
+		ast_adsi_clear_soft_keys;
+		ast_adsi_connect_session;
+		ast_adsi_data_mode;
+		ast_adsi_disconnect_session;
+		ast_adsi_display;
+		ast_adsi_download_connect;
+		ast_adsi_download_disconnect;
+		ast_adsi_end_download;
+		ast_adsi_get_cpeid;
+		ast_adsi_get_cpeinfo;
+		ast_adsi_input_control;
+		ast_adsi_input_format;
+		ast_adsi_load_session;
+		ast_adsi_load_soft_key;
+		ast_adsi_print;
+		ast_adsi_query_cpeid;
+		ast_adsi_query_cpeinfo;
+		ast_adsi_read_encoded_dtmf;
+		ast_adsi_set_keys;
+		ast_adsi_set_line;
+		ast_adsi_transmit_message;
+		ast_adsi_transmit_message_full;
+		ast_adsi_unload_session;
+		ast_adsi_voice_mode;
+	local:
+		*;
+};

Propchange: team/kpfleming/symbol-namespace-cleanup/res/res_adsi.exports
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: team/kpfleming/symbol-namespace-cleanup/res/res_adsi.exports
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: team/kpfleming/symbol-namespace-cleanup/res/res_adsi.exports
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: team/kpfleming/symbol-namespace-cleanup/res/res_agi.exports
URL: http://svn.digium.com/svn-view/asterisk/team/kpfleming/symbol-namespace-cleanup/res/res_agi.exports?view=auto&rev=180107
==============================================================================
--- team/kpfleming/symbol-namespace-cleanup/res/res_agi.exports (added)
+++ team/kpfleming/symbol-namespace-cleanup/res/res_agi.exports Tue Mar  3 18:22:52 2009
@@ -1,0 +1,7 @@
+{
+	global:
+		ast_agi_register;
+		ast_agi_unregister;
+	local:
+		*;
+};

Propchange: team/kpfleming/symbol-namespace-cleanup/res/res_agi.exports
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: team/kpfleming/symbol-namespace-cleanup/res/res_agi.exports
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: team/kpfleming/symbol-namespace-cleanup/res/res_agi.exports
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: team/kpfleming/symbol-namespace-cleanup/res/res_config_odbc.c
URL: http://svn.digium.com/svn-view/asterisk/team/kpfleming/symbol-namespace-cleanup/res/res_config_odbc.c?view=diff&rev=180107&r1=180106&r2=180107
==============================================================================
--- team/kpfleming/symbol-namespace-cleanup/res/res_config_odbc.c (original)
+++ team/kpfleming/symbol-namespace-cleanup/res/res_config_odbc.c Tue Mar  3 18:22:52 2009
@@ -558,7 +558,7 @@
 	return 0;
 }
 
-AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS, "ODBC Configuration",
+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "ODBC Configuration",
 		.load = load_module,
 		.unload = unload_module,
 		);

Modified: team/kpfleming/symbol-namespace-cleanup/res/res_config_pgsql.c
URL: http://svn.digium.com/svn-view/asterisk/team/kpfleming/symbol-namespace-cleanup/res/res_config_pgsql.c?view=diff&rev=180107&r1=180106&r2=180107
==============================================================================
--- team/kpfleming/symbol-namespace-cleanup/res/res_config_pgsql.c (original)
+++ team/kpfleming/symbol-namespace-cleanup/res/res_config_pgsql.c Tue Mar  3 18:22:52 2009
@@ -835,7 +835,7 @@
 }
 
 /* needs usecount semantics defined */
-AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS, "PostgreSQL RealTime Configuration Driver",
+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "PostgreSQL RealTime Configuration Driver",
 		.load = load_module,
 		.unload = unload_module,
 		.reload = reload

Modified: team/kpfleming/symbol-namespace-cleanup/res/res_crypto.c
URL: http://svn.digium.com/svn-view/asterisk/team/kpfleming/symbol-namespace-cleanup/res/res_crypto.c?view=diff&rev=180107&r1=180106&r2=180107
==============================================================================
--- team/kpfleming/symbol-namespace-cleanup/res/res_crypto.c (original)
+++ team/kpfleming/symbol-namespace-cleanup/res/res_crypto.c Tue Mar  3 18:22:52 2009
@@ -624,7 +624,7 @@
 }
 
 /* needs usecount semantics defined */
-AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS, "Cryptographic Digital Signatures",
+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "Cryptographic Digital Signatures",
 		.load = load_module,
 		.unload = unload_module,
 		.reload = reload

Added: team/kpfleming/symbol-namespace-cleanup/res/res_features.exports
URL: http://svn.digium.com/svn-view/asterisk/team/kpfleming/symbol-namespace-cleanup/res/res_features.exports?view=auto&rev=180107
==============================================================================
--- team/kpfleming/symbol-namespace-cleanup/res/res_features.exports (added)
+++ team/kpfleming/symbol-namespace-cleanup/res/res_features.exports Tue Mar  3 18:22:52 2009
@@ -1,0 +1,13 @@
+{
+	global:
+		ast_bridge_call;
+		ast_masq_park_call;
+		ast_park_call;
+		ast_parking_ext;
+		ast_pickup_call;
+		ast_pickup_ext;
+		ast_register_feature;
+		ast_unregister_feature;
+	local:
+		*;
+};

Propchange: team/kpfleming/symbol-namespace-cleanup/res/res_features.exports
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: team/kpfleming/symbol-namespace-cleanup/res/res_features.exports
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: team/kpfleming/symbol-namespace-cleanup/res/res_features.exports
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: team/kpfleming/symbol-namespace-cleanup/res/res_indications.c
URL: http://svn.digium.com/svn-view/asterisk/team/kpfleming/symbol-namespace-cleanup/res/res_indications.c?view=diff&rev=180107&r1=180106&r2=180107
==============================================================================
--- team/kpfleming/symbol-namespace-cleanup/res/res_indications.c (original)
+++ team/kpfleming/symbol-namespace-cleanup/res/res_indications.c Tue Mar  3 18:22:52 2009
@@ -399,7 +399,7 @@
 	return ind_load_module();
 }
 
-AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS, "Indications Resource",
+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "Indications Resource",
 		.load = load_module,
 		.unload = unload_module,
 		.reload = reload,

Added: team/kpfleming/symbol-namespace-cleanup/res/res_jabber.exports
URL: http://svn.digium.com/svn-view/asterisk/team/kpfleming/symbol-namespace-cleanup/res/res_jabber.exports?view=auto&rev=180107
==============================================================================
--- team/kpfleming/symbol-namespace-cleanup/res/res_jabber.exports (added)
+++ team/kpfleming/symbol-namespace-cleanup/res/res_jabber.exports Tue Mar  3 18:22:52 2009
@@ -1,0 +1,13 @@
+{
+	global:
+		ast_aji_create_chat;
+		ast_aji_disconnect;
+		ast_aji_get_client;
+		ast_aji_get_clients;
+		ast_aji_increment_mid;
+		ast_aji_invite_chat;
+		ast_aji_join_chat;
+		ast_aji_send;
+	local:
+		*;
+};

Propchange: team/kpfleming/symbol-namespace-cleanup/res/res_jabber.exports
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: team/kpfleming/symbol-namespace-cleanup/res/res_jabber.exports
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: team/kpfleming/symbol-namespace-cleanup/res/res_jabber.exports
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: team/kpfleming/symbol-namespace-cleanup/res/res_monitor.exports
URL: http://svn.digium.com/svn-view/asterisk/team/kpfleming/symbol-namespace-cleanup/res/res_monitor.exports?view=auto&rev=180107
==============================================================================
--- team/kpfleming/symbol-namespace-cleanup/res/res_monitor.exports (added)
+++ team/kpfleming/symbol-namespace-cleanup/res/res_monitor.exports Tue Mar  3 18:22:52 2009
@@ -1,0 +1,11 @@
+{
+	global:
+		ast_monitor_change_fname;
+		ast_monitor_pause;
+		ast_monitor_setjoinfiles;
+		ast_monitor_start;
+		ast_monitor_stop;
+		ast_monitor_unpause;
+	local:
+		*;
+};

Propchange: team/kpfleming/symbol-namespace-cleanup/res/res_monitor.exports
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: team/kpfleming/symbol-namespace-cleanup/res/res_monitor.exports
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: team/kpfleming/symbol-namespace-cleanup/res/res_monitor.exports
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: team/kpfleming/symbol-namespace-cleanup/res/res_musiconhold.c
URL: http://svn.digium.com/svn-view/asterisk/team/kpfleming/symbol-namespace-cleanup/res/res_musiconhold.c?view=diff&rev=180107&r1=180106&r2=180107
==============================================================================
--- team/kpfleming/symbol-namespace-cleanup/res/res_musiconhold.c (original)
+++ team/kpfleming/symbol-namespace-cleanup/res/res_musiconhold.c Tue Mar  3 18:22:52 2009
@@ -1486,7 +1486,7 @@
 	return res;
 }
 
-AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS, "Music On Hold Resource",
+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "Music On Hold Resource",
 	.load = load_module,
 	.unload = unload_module,
 	.reload = reload,

Added: team/kpfleming/symbol-namespace-cleanup/res/res_odbc.exports
URL: http://svn.digium.com/svn-view/asterisk/team/kpfleming/symbol-namespace-cleanup/res/res_odbc.exports?view=auto&rev=180107
==============================================================================
--- team/kpfleming/symbol-namespace-cleanup/res/res_odbc.exports (added)
+++ team/kpfleming/symbol-namespace-cleanup/res/res_odbc.exports Tue Mar  3 18:22:52 2009
@@ -1,0 +1,11 @@
+{
+	global:
+		ast_odbc_backslash_is_escape;
+		ast_odbc_prepare_and_execute;
+		ast_odbc_release_obj;
+		ast_odbc_request_obj;
+		ast_odbc_sanity_check;
+		ast_odbc_smart_execute;
+	local:
+		*;
+};

Propchange: team/kpfleming/symbol-namespace-cleanup/res/res_odbc.exports
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: team/kpfleming/symbol-namespace-cleanup/res/res_odbc.exports
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: team/kpfleming/symbol-namespace-cleanup/res/res_odbc.exports
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: team/kpfleming/symbol-namespace-cleanup/res/res_smdi.exports
URL: http://svn.digium.com/svn-view/asterisk/team/kpfleming/symbol-namespace-cleanup/res/res_smdi.exports?view=auto&rev=180107
==============================================================================
--- team/kpfleming/symbol-namespace-cleanup/res/res_smdi.exports (added)
+++ team/kpfleming/symbol-namespace-cleanup/res/res_smdi.exports Tue Mar  3 18:22:52 2009
@@ -1,0 +1,18 @@
+{
+	global:
+		ast_smdi_interface_find;
+		ast_smdi_interface_unref;
+		ast_smdi_md_message_destroy;
+		ast_smdi_md_message_pop;
+		ast_smdi_md_message_putback;
+		ast_smdi_md_message_wait;
+		ast_smdi_mwi_message_destroy;
+		ast_smdi_mwi_message_pop;
+		ast_smdi_mwi_message_putback;
+		ast_smdi_mwi_message_wait;
+		ast_smdi_mwi_message_wait_station;
+		ast_smdi_mwi_set;
+		ast_smdi_mwi_unset;
+	local:
+		*;
+};

Propchange: team/kpfleming/symbol-namespace-cleanup/res/res_smdi.exports
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: team/kpfleming/symbol-namespace-cleanup/res/res_smdi.exports
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: team/kpfleming/symbol-namespace-cleanup/res/res_smdi.exports
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: team/kpfleming/symbol-namespace-cleanup/res/res_snmp.c
URL: http://svn.digium.com/svn-view/asterisk/team/kpfleming/symbol-namespace-cleanup/res/res_snmp.c?view=diff&rev=180107&r1=180106&r2=180107
==============================================================================
--- team/kpfleming/symbol-namespace-cleanup/res/res_snmp.c (original)
+++ team/kpfleming/symbol-namespace-cleanup/res/res_snmp.c Tue Mar  3 18:22:52 2009
@@ -109,7 +109,7 @@
 	return ((thread != AST_PTHREADT_NULL) ? pthread_join(thread, NULL) : 0);
 }
 
-AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS, "SNMP [Sub]Agent for Asterisk",
+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "SNMP [Sub]Agent for Asterisk",
 		.load = load_module,
 		.unload = unload_module,
 		);

Added: team/kpfleming/symbol-namespace-cleanup/res/res_speech.exports
URL: http://svn.digium.com/svn-view/asterisk/team/kpfleming/symbol-namespace-cleanup/res/res_speech.exports?view=auto&rev=180107
==============================================================================
--- team/kpfleming/symbol-namespace-cleanup/res/res_speech.exports (added)
+++ team/kpfleming/symbol-namespace-cleanup/res/res_speech.exports Tue Mar  3 18:22:52 2009
@@ -1,0 +1,21 @@
+{
+	global:
+		ast_speech_change;
+		ast_speech_change_results_type;
+		ast_speech_change_state;
+		ast_speech_destroy;
+		ast_speech_dtmf;
+		ast_speech_grammar_activate;
+		ast_speech_grammar_deactivate;
+		ast_speech_grammar_load;
+		ast_speech_grammar_unload;
+		ast_speech_new;
+		ast_speech_register;
+		ast_speech_results_free;
+		ast_speech_results_get;
+		ast_speech_start;
+		ast_speech_unregister;
+		ast_speech_write;
+	local:
+		*;
+};

Propchange: team/kpfleming/symbol-namespace-cleanup/res/res_speech.exports
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: team/kpfleming/symbol-namespace-cleanup/res/res_speech.exports
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: team/kpfleming/symbol-namespace-cleanup/res/res_speech.exports
------------------------------------------------------------------------------
    svn:mime-type = text/plain




More information about the asterisk-commits mailing list