Ignore:
Timestamp:
Dec 26, 2005 12:52:19 PM (18 years ago)
Author:
bennylp
Message:

Modify transport to use generic sockaddr address

File:
1 edited

Legend:

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

    r65 r105  
    146146typedef struct pjsip_host_port 
    147147{ 
    148     unsigned flag;      /**< Flags of pjsip_transport_flags_e (not used in Via). */ 
    149     unsigned type;      /**< Transport type (pjsip_transport_type_e), or zero. */ 
    150     pj_str_t host;      /**< Host part. */ 
     148    pj_str_t host;      /**< Host part or IP address. */ 
    151149    int      port;      /**< Port number. */ 
    152150} pjsip_host_port; 
     151 
     152/** 
     153 * Host information. 
     154 */ 
     155typedef struct pjsip_host_info 
     156{ 
     157    unsigned                flag;   /**< Flags of pjsip_transport_flags_e. */ 
     158    pjsip_transport_type_e  type;   /**< Transport type. */ 
     159    pjsip_host_port         addr;   /**< Address information. */ 
     160} pjsip_host_info; 
    153161 
    154162 
Note: See TracChangeset for help on using the changeset viewer.