diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-02-19 01:34:57 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-02-19 01:34:57 +0000 |
commit | d0a140b588b68d113e5444e711b44e3775b14faa (patch) | |
tree | 973599553551267dc82ce5f800cb580f793aca3b /pjsip/include | |
parent | 9d79b05c1f2c89403b83743a24fb7cc095e79a9f (diff) |
Return correct error when sending message failed
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@195 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include')
-rw-r--r-- | pjsip/include/pjsip/sip_transaction.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pjsip/include/pjsip/sip_transaction.h b/pjsip/include/pjsip/sip_transaction.h index eece1be0..33e39c18 100644 --- a/pjsip/include/pjsip/sip_transaction.h +++ b/pjsip/include/pjsip/sip_transaction.h @@ -98,6 +98,7 @@ struct pjsip_transaction int addr_len; /**< Address length. */ pjsip_response_addr res_addr; /**< Response address. */ unsigned transport_flag; /**< Miscelaneous flag. */ + pj_status_t transport_err; /**< Internal error code. */ /* * Messages and timer. @@ -280,6 +281,11 @@ PJ_DECL(pjsip_transaction*) pjsip_rdata_get_tsx( pjsip_rx_data *rdata ); */ /* + * Dump transaction layer. + */ +PJ_DECL(void) pjsip_tsx_layer_dump(void); + +/* * Get the string name for the state. */ PJ_DECL(const char *) pjsip_tsx_state_str(pjsip_tsx_state_e state); |