typedef apr_queue_t switch_queue_t;
/**
- * @defgroup apr_file_io File I/O Handling Functions
- * @ingroup APR
+ * @defgroup switch_file_io File I/O Handling Functions
+ * @ingroup FREESWITCH
* @{
*/
/**
* @defgroup switch_thread_cond Condition Variable Routines
- * @ingroup APR
+ * @ingroup FREESWITCH
* @{
*/
/**
* @defgroup switch_thread_proc Threads and Process Functions
- * @ingroup APR
+ * @ingroup FREESWITCH
* @{
*/
/** @} */
/**
- * @defgroup apr_network_io Network Routines
- * @ingroup APR
+ * @defgroup switch_network_io Network Routines
+ * @ingroup FREESWITCH
* @{
*/
/**
* @defgroup switch_memory_pool Memory Pool Functions
- * @ingroup APR
+ * @ingroup FREESWITCH
* @{
*/
/** The fundamental pool type */
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
* \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