[asterisk-commits] rmudgett: branch rmudgett/native_dahdi r394856 - in /team/rmudgett/native_dah...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 19 20:42:54 CDT 2013


Author: rmudgett
Date: Fri Jul 19 20:42:51 2013
New Revision: 394856

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=394856
Log:
Rename new protected dahdi functions to have a dahdi_ prefix.

Modified:
    team/rmudgett/native_dahdi/channels/chan_dahdi.c
    team/rmudgett/native_dahdi/channels/dahdi/bridge_native_dahdi.c
    team/rmudgett/native_dahdi/channels/dahdi/bridge_native_dahdi.h

Modified: team/rmudgett/native_dahdi/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/native_dahdi/channels/chan_dahdi.c?view=diff&rev=394856&r1=394855&r2=394856
==============================================================================
--- team/rmudgett/native_dahdi/channels/chan_dahdi.c (original)
+++ team/rmudgett/native_dahdi/channels/chan_dahdi.c Fri Jul 19 20:42:51 2013
@@ -16299,7 +16299,7 @@
 #endif	/* defined(HAVE_SS7) */
 	ast_cond_destroy(&ss_thread_complete);
 
-	native_bridge_unload();
+	dahdi_native_unload();
 
 	dahdi_tech.capabilities = ast_format_cap_destroy(dahdi_tech.capabilities);
 	STASIS_MESSAGE_TYPE_CLEANUP(dahdichannel_type);
@@ -18314,7 +18314,7 @@
 	ast_format_cap_add(dahdi_tech.capabilities, ast_format_set(&tmpfmt, AST_FORMAT_ULAW, 0));
 	ast_format_cap_add(dahdi_tech.capabilities, ast_format_set(&tmpfmt, AST_FORMAT_ALAW, 0));
 
-	if (native_bridge_load(ast_module_info->self, &dahdi_tech)) {
+	if (dahdi_native_load(ast_module_info->self, &dahdi_tech)) {
 		return AST_MODULE_LOAD_FAILURE;
 	}
 

Modified: team/rmudgett/native_dahdi/channels/dahdi/bridge_native_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/native_dahdi/channels/dahdi/bridge_native_dahdi.c?view=diff&rev=394856&r1=394855&r2=394856
==============================================================================
--- team/rmudgett/native_dahdi/channels/dahdi/bridge_native_dahdi.c (original)
+++ team/rmudgett/native_dahdi/channels/dahdi/bridge_native_dahdi.c Fri Jul 19 20:42:51 2013
@@ -891,7 +891,7 @@
  *
  * \return Nothing
  */
-void native_bridge_unload(void)
+void dahdi_native_unload(void)
 {
 	ast_bridge_technology_unregister(&native_bridge);
 	ast_format_cap_destroy(native_bridge.format_capabilities);
@@ -905,7 +905,7 @@
  * \retval 0 on success.
  * \retval -1 on error.
  */
-int native_bridge_load(struct ast_module *mod, const struct ast_channel_tech *tech)
+int dahdi_native_load(struct ast_module *mod, const struct ast_channel_tech *tech)
 {
 	struct ast_format format;
 

Modified: team/rmudgett/native_dahdi/channels/dahdi/bridge_native_dahdi.h
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/native_dahdi/channels/dahdi/bridge_native_dahdi.h?view=diff&rev=394856&r1=394855&r2=394856
==============================================================================
--- team/rmudgett/native_dahdi/channels/dahdi/bridge_native_dahdi.h (original)
+++ team/rmudgett/native_dahdi/channels/dahdi/bridge_native_dahdi.h Fri Jul 19 20:42:51 2013
@@ -35,8 +35,8 @@
 
 /* ------------------------------------------------------------------- */
 
-void native_bridge_unload(void);
-int native_bridge_load(struct ast_module *mod, const struct ast_channel_tech *tech);
+void dahdi_native_unload(void);
+int dahdi_native_load(struct ast_module *mod, const struct ast_channel_tech *tech);
 
 /* ------------------------------------------------------------------- */
 




More information about the asterisk-commits mailing list