[asterisk-commits] mmichelson: branch group/issue8824 r144334 - /team/group/issue8824/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Sep 24 17:31:37 CDT 2008


Author: mmichelson
Date: Wed Sep 24 17:31:36 2008
New Revision: 144334

URL: http://svn.digium.com/view/asterisk?view=rev&rev=144334
Log:
For consistency's sake, I'm removing the ast_ prefix
from some internal functions since they are not part
of the public API.


Modified:
    team/group/issue8824/main/channel.c

Modified: team/group/issue8824/main/channel.c
URL: http://svn.digium.com/view/asterisk/team/group/issue8824/main/channel.c?view=diff&rev=144334&r1=144333&r2=144334
==============================================================================
--- team/group/issue8824/main/channel.c (original)
+++ team/group/issue8824/main/channel.c Wed Sep 24 17:31:36 2008
@@ -5811,7 +5811,7 @@
  * \retval -1 if error
  * \retval Amount of data buffer used
  */
-static int ast_build_connected_line_data(unsigned char *data, size_t datalen, const struct ast_party_connected_line *connected)
+static int build_connected_line_data(unsigned char *data, size_t datalen, const struct ast_party_connected_line *connected)
 {
 	int32_t value;
 	size_t length;
@@ -5879,7 +5879,7 @@
 	pos += sizeof(value);
 
 	return pos;
-}	/* end ast_build_connected_line_data() */
+}	/* end build_connected_line_data() */
 
 
 
@@ -5989,7 +5989,7 @@
 	unsigned char data[1024];	/* This should be large enough */
 	size_t datalen;
 
-	datalen = ast_build_connected_line_data(data, sizeof(data), connected);
+	datalen = build_connected_line_data(data, sizeof(data), connected);
 	if (datalen == (size_t) -1) {
 		return;
 	}
@@ -6014,7 +6014,7 @@
 	unsigned char data[1024];	/* This should be large enough */
 	size_t datalen;
 
-	datalen = ast_build_connected_line_data(data, sizeof(data), connected);
+	datalen = build_connected_line_data(data, sizeof(data), connected);
 	if (datalen == (size_t) -1) {
 		return;
 	}
@@ -6100,7 +6100,7 @@
  * \retval -1 if error
  * \retval Amount of data buffer used
  */
-static int ast_build_redirecting_data(unsigned char *data, size_t datalen, const struct ast_party_redirecting *redirecting)
+static int build_redirecting_data(unsigned char *data, size_t datalen, const struct ast_party_redirecting *redirecting)
 {
 	int32_t value;
 	size_t length;
@@ -6224,7 +6224,7 @@
 	pos += sizeof(value);
 
 	return pos;
-}	/* end ast_build_redirecting_data() */
+}	/* end build_redirecting_data() */
 
 
 
@@ -6375,7 +6375,7 @@
 	unsigned char data[1024];	/* This should be large enough */
 	size_t datalen;
 
-	datalen = ast_build_redirecting_data(data, sizeof(data), redirecting);
+	datalen = build_redirecting_data(data, sizeof(data), redirecting);
 	if (datalen == (size_t) -1) {
 		return;
 	}
@@ -6400,7 +6400,7 @@
 	unsigned char data[1024];	/* This should be large enough */
 	size_t datalen;
 
-	datalen = ast_build_redirecting_data(data, sizeof(data), redirecting);
+	datalen = build_redirecting_data(data, sizeof(data), redirecting);
 	if (datalen == (size_t) -1) {
 		return;
 	}




More information about the asterisk-commits mailing list