Changed pjsip_inv_send_msg() function
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@324 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjsip/include/pjsip-ua/sip_inv.h b/pjsip/include/pjsip-ua/sip_inv.h
index 4939c9d..c85795a 100644
--- a/pjsip/include/pjsip-ua/sip_inv.h
+++ b/pjsip/include/pjsip-ua/sip_inv.h
@@ -186,13 +186,11 @@
* occurences of events in invite sessions.
*
* @param endpt The endpoint instance.
- * @param app_module Application module.
* @param callback Callback structure.
*
* @return PJ_SUCCESS on success, or the appropriate error code.
*/
PJ_DECL(pj_status_t) pjsip_inv_usage_init(pjsip_endpoint *endpt,
- pjsip_module *app_module,
const pjsip_inv_callback *cb);
/**
@@ -518,11 +516,6 @@
*
* @param inv The invite session.
* @param tdata The message to be sent.
- * @param token The token is an arbitrary application data that
- * will be put in the transaction's mod_data array,
- * at application module's index. Application can inspect
- * this value when the framework reports the completion
- * of the transaction that sends this message.
*
* @return PJ_SUCCESS if transaction can be initiated
* successfully to send this message. Note that the
@@ -531,8 +524,7 @@
* callback.
*/
PJ_DECL(pj_status_t) pjsip_inv_send_msg(pjsip_inv_session *inv,
- pjsip_tx_data *tdata,
- void *token );
+ pjsip_tx_data *tdata);
@@ -558,6 +550,15 @@
PJ_DECL(pjsip_inv_session*) pjsip_tsx_get_inv_session(pjsip_transaction *tsx);
+/**
+ * Get state names for INVITE session state.
+ *
+ * @param state The invite state.
+ *
+ * @return String describing the state.
+ */
+PJ_DECL(const char *) pjsip_inv_state_name(pjsip_inv_state state);
+
PJ_END_DECL