[asterisk-commits] file: branch file/bridging r126081 - in /team/file/bridging: include/asterisk...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jun 27 17:23:12 CDT 2008


Author: file
Date: Fri Jun 27 17:23:12 2008
New Revision: 126081

URL: http://svn.digium.com/view/asterisk?view=rev&rev=126081
Log:
Use the feature flags enum here.

Modified:
    team/file/bridging/include/asterisk/bridging.h
    team/file/bridging/main/bridging.c

Modified: team/file/bridging/include/asterisk/bridging.h
URL: http://svn.digium.com/view/asterisk/team/file/bridging/include/asterisk/bridging.h?view=diff&rev=126081&r1=126080&r2=126081
==============================================================================
--- team/file/bridging/include/asterisk/bridging.h (original)
+++ team/file/bridging/include/asterisk/bridging.h Fri Jun 27 17:23:12 2008
@@ -282,7 +282,7 @@
  * \retval 0 on success
  * \retval -1 on failure
  */
-int ast_bridge_features_set_flag(struct ast_bridge_features *features, int flag);
+int ast_bridge_features_set_flag(struct ast_bridge_features *features, enum ast_bridge_feature_flags flag);
 
 /*! \brief Initialize bridge features structure
  * \param features Bridge featues structure

Modified: team/file/bridging/main/bridging.c
URL: http://svn.digium.com/view/asterisk/team/file/bridging/main/bridging.c?view=diff&rev=126081&r1=126080&r2=126081
==============================================================================
--- team/file/bridging/main/bridging.c (original)
+++ team/file/bridging/main/bridging.c Fri Jun 27 17:23:12 2008
@@ -1263,7 +1263,7 @@
 	return ast_bridge_features_hook(features, dtmf, callback, NULL);
 }
 
-int ast_bridge_features_set_flag(struct ast_bridge_features *features, int flag)
+int ast_bridge_features_set_flag(struct ast_bridge_features *features, enum ast_bridge_feature_flags flag)
 {
 	ast_set_flag(&features->feature_flags, flag);
 	features->usable = 1;




More information about the asterisk-commits mailing list