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:
Anthony Minessale
2006-02-26 04:52:34 +00:00
parent c30a71fa9c
commit 14072e8725
13 changed files with 64 additions and 64 deletions
+1 -1
View File
@@ -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
+5 -5
View File
@@ -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);
+6 -6
View File
@@ -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 */