mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-10 06:49:40 +00:00
PJSIP: Fix some bad spacing
........ Merged revisions 408943 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@408944 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -147,31 +147,31 @@ typedef int (*ast_sip_session_sdp_creation_cb)(struct ast_sip_session *session,
|
|||||||
* processing to incoming and outgoing SIP requests and responses
|
* processing to incoming and outgoing SIP requests and responses
|
||||||
*/
|
*/
|
||||||
struct ast_sip_session_supplement {
|
struct ast_sip_session_supplement {
|
||||||
/*! Method on which to call the callbacks. If NULL, call on all methods */
|
/*! Method on which to call the callbacks. If NULL, call on all methods */
|
||||||
const char *method;
|
const char *method;
|
||||||
/*! Priority for this supplement. Lower numbers are visited before higher numbers */
|
/*! Priority for this supplement. Lower numbers are visited before higher numbers */
|
||||||
enum ast_sip_supplement_priority priority;
|
enum ast_sip_supplement_priority priority;
|
||||||
/*!
|
/*!
|
||||||
* \brief Notification that the session has begun
|
* \brief Notification that the session has begun
|
||||||
* This method will always be called from a SIP servant thread.
|
* This method will always be called from a SIP servant thread.
|
||||||
*/
|
*/
|
||||||
void (*session_begin)(struct ast_sip_session *session);
|
void (*session_begin)(struct ast_sip_session *session);
|
||||||
/*!
|
/*!
|
||||||
* \brief Notification that the session has ended
|
* \brief Notification that the session has ended
|
||||||
*
|
*
|
||||||
* This method may or may not be called from a SIP servant thread. Do
|
* This method may or may not be called from a SIP servant thread. Do
|
||||||
* not make assumptions about being able to call PJSIP methods from within
|
* not make assumptions about being able to call PJSIP methods from within
|
||||||
* this method.
|
* this method.
|
||||||
*/
|
*/
|
||||||
void (*session_end)(struct ast_sip_session *session);
|
void (*session_end)(struct ast_sip_session *session);
|
||||||
/*!
|
/*!
|
||||||
* \brief Notification that the session is being destroyed
|
* \brief Notification that the session is being destroyed
|
||||||
*/
|
*/
|
||||||
void (*session_destroy)(struct ast_sip_session *session);
|
void (*session_destroy)(struct ast_sip_session *session);
|
||||||
/*!
|
/*!
|
||||||
* \brief Called on incoming SIP request
|
* \brief Called on incoming SIP request
|
||||||
* This method can indicate a failure in processing in its return. If there
|
* This method can indicate a failure in processing in its return. If there
|
||||||
* is a failure, it is required that this method sends a response to the request.
|
* is a failure, it is required that this method sends a response to the request.
|
||||||
* This method is always called from a SIP servant thread.
|
* This method is always called from a SIP servant thread.
|
||||||
*
|
*
|
||||||
* \note
|
* \note
|
||||||
@@ -184,9 +184,9 @@ struct ast_sip_session_supplement {
|
|||||||
*
|
*
|
||||||
* \note
|
* \note
|
||||||
* There is no guarantee that a channel will be present on the session when this is called.
|
* There is no guarantee that a channel will be present on the session when this is called.
|
||||||
*/
|
*/
|
||||||
int (*incoming_request)(struct ast_sip_session *session, struct pjsip_rx_data *rdata);
|
int (*incoming_request)(struct ast_sip_session *session, struct pjsip_rx_data *rdata);
|
||||||
/*!
|
/*!
|
||||||
* \brief Called on an incoming SIP response
|
* \brief Called on an incoming SIP response
|
||||||
* This method is always called from a SIP servant thread.
|
* This method is always called from a SIP servant thread.
|
||||||
*
|
*
|
||||||
@@ -201,17 +201,17 @@ struct ast_sip_session_supplement {
|
|||||||
* \note
|
* \note
|
||||||
* There is no guarantee that a channel will be present on the session when this is called.
|
* There is no guarantee that a channel will be present on the session when this is called.
|
||||||
*/
|
*/
|
||||||
void (*incoming_response)(struct ast_sip_session *session, struct pjsip_rx_data *rdata);
|
void (*incoming_response)(struct ast_sip_session *session, struct pjsip_rx_data *rdata);
|
||||||
/*!
|
/*!
|
||||||
* \brief Called on an outgoing SIP request
|
* \brief Called on an outgoing SIP request
|
||||||
* This method is always called from a SIP servant thread.
|
* This method is always called from a SIP servant thread.
|
||||||
*/
|
*/
|
||||||
void (*outgoing_request)(struct ast_sip_session *session, struct pjsip_tx_data *tdata);
|
void (*outgoing_request)(struct ast_sip_session *session, struct pjsip_tx_data *tdata);
|
||||||
/*!
|
/*!
|
||||||
* \brief Called on an outgoing SIP response
|
* \brief Called on an outgoing SIP response
|
||||||
* This method is always called from a SIP servant thread.
|
* This method is always called from a SIP servant thread.
|
||||||
*/
|
*/
|
||||||
void (*outgoing_response)(struct ast_sip_session *session, struct pjsip_tx_data *tdata);
|
void (*outgoing_response)(struct ast_sip_session *session, struct pjsip_tx_data *tdata);
|
||||||
/*! Next item in the list */
|
/*! Next item in the list */
|
||||||
AST_LIST_ENTRY(ast_sip_session_supplement) next;
|
AST_LIST_ENTRY(ast_sip_session_supplement) next;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user