Module: sems Branch: master Commit: 8fee9fb4e2dd2a4818eed0e646a10e9142a3ca00 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=8fee9fb4e2dd2a4818eed0e646a10e9142a3ca00
Author: Raphael Coeffic <[email protected]> Committer: Raphael Coeffic <[email protected]> Date: Mon Jan 14 12:46:47 2013 +0100 sip: moved internal trans_layer functions to protected section. --- core/sip/trans_layer.h | 27 +++++++++++++-------------- 1 files changed, 13 insertions(+), 14 deletions(-) diff --git a/core/sip/trans_layer.h b/core/sip/trans_layer.h index b7b7386..349d60c 100644 --- a/core/sip/trans_layer.h +++ b/core/sip/trans_layer.h @@ -134,20 +134,6 @@ public: trsp_socket* find_transport(sockaddr_storage* remote_ip); /** - * Implements the state changes for the UAC state machine - * @return -1 if errors - * @return transaction state if successfull - */ - int update_uac_reply(trans_bucket* bucket, sip_trans* t, sip_msg* msg); - int update_uac_request(trans_bucket* bucket, sip_trans*& t, sip_msg* msg); - - /** - * Implements the state changes for the UAS state machine - */ - int update_uas_request(trans_bucket* bucket, sip_trans* t, sip_msg* msg); - void update_uas_reply(trans_bucket* bucket, sip_trans* t, int reply_code); - - /** * Send ACK coresponding to error replies */ void send_non_200_ack(sip_msg* reply, sip_trans* t); @@ -201,6 +187,19 @@ protected: */ int try_next_ip(trans_bucket* bucket, sip_trans* tr); + /** + * Implements the state changes for the UAC state machine + * @return -1 if errors + * @return transaction state if successfull + */ + int update_uac_reply(trans_bucket* bucket, sip_trans* t, sip_msg* msg); + int update_uac_request(trans_bucket* bucket, sip_trans*& t, sip_msg* msg); + + /** + * Implements the state changes for the UAS state machine + */ + int update_uas_request(trans_bucket* bucket, sip_trans* t, sip_msg* msg); + void update_uas_reply(trans_bucket* bucket, sip_trans* t, int reply_code); /** Avoid external instantiation. @see singleton. */ _trans_layer(); _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
