mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
remove freeswitch's privates (couldn't resist)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@677 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -234,7 +234,7 @@ SWITCH_DECLARE(const switch_state_handler_table *) switch_channel_get_state_hand
|
||||
\param private void pointer to private data
|
||||
\return SWITCH_STATUS_SUCCESS if data was set
|
||||
*/
|
||||
SWITCH_DECLARE(switch_status) switch_channel_set_private(switch_channel *channel, void *private);
|
||||
SWITCH_DECLARE(switch_status) switch_channel_set_private(switch_channel *channel, void *private_info);
|
||||
|
||||
/*!
|
||||
\brief Retrieve private from a given channel
|
||||
|
||||
@@ -283,24 +283,24 @@ SWITCH_DECLARE(void *) switch_core_session_get_private(switch_core_session *sess
|
||||
/*!
|
||||
\brief Add private user data to a session
|
||||
\param session the session to add used data to
|
||||
\param private the used data to add
|
||||
\param private_info the used data to add
|
||||
\return SWITCH_STATUS_SUCCESS if data is added
|
||||
*/
|
||||
SWITCH_DECLARE(switch_status) switch_core_session_set_private(switch_core_session *session, void *private);
|
||||
SWITCH_DECLARE(switch_status) switch_core_session_set_private(switch_core_session *session, void *private_info);
|
||||
|
||||
/*!
|
||||
\brief Add a logical stream to a session
|
||||
\param session the session to add the stream to
|
||||
\param private an optional pointer to private data for the new stream
|
||||
\param private_info an optional pointer to private data for the new stream
|
||||
\return the stream id of the new stream
|
||||
*/
|
||||
SWITCH_DECLARE(int) switch_core_session_add_stream(switch_core_session *session, void *private);
|
||||
SWITCH_DECLARE(int) switch_core_session_add_stream(switch_core_session *session, void *private_info);
|
||||
|
||||
/*!
|
||||
\brief Retreive a logical stream from a session
|
||||
\param session the session to add the stream to
|
||||
\param index the index to retrieve
|
||||
\return the private data (if any)
|
||||
\return the stream
|
||||
*/
|
||||
SWITCH_DECLARE(void *) switch_core_session_get_stream(switch_core_session *session, int index);
|
||||
|
||||
|
||||
@@ -186,7 +186,7 @@ struct switch_endpoint_interface {
|
||||
const switch_state_handler_table *state_handler;
|
||||
|
||||
/*! private information */
|
||||
void *private;
|
||||
void *private_info;
|
||||
|
||||
/* to facilitate linking */
|
||||
const struct switch_endpoint_interface *next;
|
||||
@@ -207,7 +207,7 @@ struct switch_timer {
|
||||
/*! the timer's memory pool */
|
||||
switch_memory_pool *memory_pool;
|
||||
/*! private data for loadable modules to store information */
|
||||
void *private;
|
||||
void *private_info;
|
||||
};
|
||||
|
||||
/*! \brief A table of functions that a timer module implements */
|
||||
@@ -276,7 +276,7 @@ struct switch_file_handle {
|
||||
/*! the handle's memory pool */
|
||||
switch_memory_pool *memory_pool;
|
||||
/*! private data for the format module to store handle specific info */
|
||||
void *private;
|
||||
void *private_info;
|
||||
};
|
||||
|
||||
|
||||
@@ -316,7 +316,7 @@ struct switch_speech_handle {
|
||||
/*! the handle's memory pool */
|
||||
switch_memory_pool *memory_pool;
|
||||
/*! private data for the format module to store handle specific info */
|
||||
void *private;
|
||||
void *private_info;
|
||||
};
|
||||
|
||||
|
||||
@@ -349,7 +349,7 @@ struct switch_directory_handle {
|
||||
/*! the handle's memory pool */
|
||||
switch_memory_pool *memory_pool;
|
||||
/*! private data for the format module to store handle specific info */
|
||||
void *private;
|
||||
void *private_info;
|
||||
};
|
||||
|
||||
|
||||
@@ -403,7 +403,7 @@ struct switch_codec {
|
||||
/*! the handle's memory pool*/
|
||||
switch_memory_pool *memory_pool;
|
||||
/*! private data for the codec module to store handle specific info */
|
||||
void *private;
|
||||
void *private_info;
|
||||
};
|
||||
|
||||
/*! \brief A table of settings and callbacks that define a paticular implementation of a codec */
|
||||
|
||||
Reference in New Issue
Block a user