Ignore:
Timestamp:
May 28, 2007 12:58:57 PM (17 years ago)
Author:
bennylp
Message:

Fixed ticket #306: Error in SIP transport lookup because of memory alignment problem (thanks Samuel Vinson)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip/sip_transport.h

    r1269 r1310  
    606606 * 
    607607 *****************************************************************************/ 
     608/** 
     609 * Type of callback to receive transport operation status. 
     610 */ 
    608611typedef void (*pjsip_transport_callback)(pjsip_transport *tp, void *token, 
    609612                                         pj_ssize_t sent_bytes); 
     613 
     614/** 
     615 * This structure describes transport key to be registered to hash table. 
     616 */ 
     617typedef struct pjsip_transport_key 
     618{ 
     619    /** 
     620     * Transport type. 
     621     */ 
     622    long                    type; 
     623 
     624    /** 
     625     * Destination address. 
     626     */ 
     627    pj_sockaddr             rem_addr; 
     628 
     629} pjsip_transport_key; 
     630 
    610631/** 
    611632 * This structure represent the "public" interface of a SIP transport. 
     
    624645 
    625646    /** Key for indexing this transport in hash table. */ 
    626     struct { 
    627         pjsip_transport_type_e  type;       /**< Transport type.            */ 
    628         pj_sockaddr             rem_addr;   /**< Remote addr (zero for UDP) */ 
    629     } key; 
     647    pjsip_transport_key     key; 
    630648 
    631649    char                   *type_name;      /**< Type name.                 */ 
Note: See TracChangeset for help on using the changeset viewer.