summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsua-lib/pjsua.h
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2010-02-25 11:58:19 +0000
committerNanang Izzuddin <nanang@teluu.com>2010-02-25 11:58:19 +0000
commitcd0277b8c369c89206409d767d47600d3ed38786 (patch)
tree4ea90a5de7fb5a5842fff3685ac600c93246050b /pjsip/include/pjsua-lib/pjsua.h
parentc80dd76f236e41c653a6e6e95c9fa44c586c6a34 (diff)
More ticket #1032:
- Updated transport state notification callback to return void. - Updated transport state enum to only contain connected and disconnected, no more bitmask value. - Added direction field to SIP transport. - Removed remote hostname hash from transport key. - Updated cert info dump to return -1 when buffer is insufficient. - Added new error code PJSIP_TLS_ECERTVERIF. - Updated get_cert_name() in ssl_sock_symbian.c to use heap buffer instead of stack. - Minors, e.g: added prefix PJ in cipher types, docs. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3110 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsua-lib/pjsua.h')
-rw-r--r--pjsip/include/pjsua-lib/pjsua.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h
index 45f07d90..451b8c9c 100644
--- a/pjsip/include/pjsua-lib/pjsua.h
+++ b/pjsip/include/pjsua-lib/pjsua.h
@@ -846,21 +846,8 @@ typedef struct pjsua_callback
/**
* This callback is called when transport state is changed. See also
* #pjsip_tp_state_callback.
- *
- * @param tp The transport instance.
- * @param state The transport state, this may contain single or
- * combination of transport state types defined in
- * #pjsip_transport_state_type.
- * @param info The transport state info.
- *
- * @return When TLS verification fails and peer verification in
- * #pjsip_tls_setting is not set, application may return
- * PJ_TRUE to ignore the verification result and continue
- * using the transport. On other cases, this return value
- * is currently not used and will be ignored.
- */
- pj_bool_t (*on_transport_state)(pjsip_transport *tp, pj_uint32_t state,
- const pjsip_transport_state_info *info);
+ */
+ pjsip_tp_state_callback on_transport_state;
} pjsua_callback;