Ignore:
Timestamp:
Feb 25, 2010 11:58:19 AM (14 years ago)
Author:
nanang
Message:

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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r3109 r3110  
    847847     * This callback is called when transport state is changed. See also 
    848848     * #pjsip_tp_state_callback. 
    849      * 
    850      * @param tp        The transport instance. 
    851      * @param state     The transport state, this may contain single or  
    852      *                  combination of transport state types defined in 
    853      *                  #pjsip_transport_state_type. 
    854      * @param info      The transport state info. 
    855      * 
    856      * @return          When TLS verification fails and peer verification in 
    857      *                  #pjsip_tls_setting is not set, application may return 
    858      *                  PJ_TRUE to ignore the verification result and continue 
    859      *                  using the transport. On other cases, this return value 
    860      *                  is currently not used and will be ignored. 
    861      */ 
    862     pj_bool_t (*on_transport_state)(pjsip_transport *tp, pj_uint32_t state, 
    863                                     const pjsip_transport_state_info *info); 
     849     */ 
     850    pjsip_tp_state_callback on_transport_state; 
    864851 
    865852} pjsua_callback; 
Note: See TracChangeset for help on using the changeset viewer.