git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@258 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2006-01-02 22:45:50 +00:00
parent e29d980b68
commit 4c3434b0a7
2 changed files with 14 additions and 7 deletions
+7
View File
@@ -44,6 +44,12 @@ extern "C" {
struct switch_buffer;
/**
* @defgroup switch_buffer Buffer Routines
* @ingroup FREESWITCH
* @{
*/
/*! \brief Allocate a new switch_buffer
* \param pool Pool to allocate the buffer from
* \param buffer returned pointer to the new buffer
@@ -92,6 +98,7 @@ SWITCH_DECLARE(int) switch_buffer_write(switch_buffer *buffer, void *data, size_
* \return int ammount of buffer used after the toss, or 0 if unable to toss that much data
*/
SWITCH_DECLARE(int) switch_buffer_toss(switch_buffer *buffer, size_t datalen);
/** @} */
#ifdef __cplusplus