diff options
Diffstat (limited to 'pjsip/include/pjsua-lib/pjsua.h')
-rw-r--r-- | pjsip/include/pjsua-lib/pjsua.h | 17 |
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; |