Ignore:
Timestamp:
Mar 18, 2007 5:39:27 PM (14 years ago)
Author:
bennylp
Message:

Changed pj_sockaddr structure and added pjnath project for ICE/STUN stuffs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/include/pjnath/stun_msg.h

    r1062 r1080  
    1717 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  
    1818 */ 
    19 #ifndef __PJLIB_UTIL_STUN_MSG_H__ 
    20 #define __PJLIB_UTIL_STUN_MSG_H__ 
     19#ifndef __PJNATH_STUN_MSG_H__ 
     20#define __PJNATH_STUN_MSG_H__ 
    2121 
    2222/** 
     
    2525 */ 
    2626 
    27 #include <pjlib-util/types.h> 
     27#include <pjnath/types.h> 
    2828#include <pj/sock.h> 
    2929 
     
    3434/* **************************************************************************/ 
    3535/** 
    36  * @defgroup PJLIB_UTIL_STUN_MSG STUN Message Representation and Parsing 
     36 * @defgroup PJNATH_STUN_MSG STUN Message Representation and Parsing 
    3737 * @brief Low-level representation and parsing of STUN messages. 
    38  * @ingroup PJLIB_UTIL_STUN 
     38 * @ingroup PJNATH_STUN 
    3939 * @{ 
    4040 */ 
     
    530530 
    531531    /** 
    532      * The socket address (as a union) 
    533      */ 
    534     union { 
    535         pj_sockaddr         addr;   /**< Generic socket address.    */ 
    536         pj_sockaddr_in      ipv4;   /**< IPv4 socket address.       */ 
    537         pj_sockaddr_in6     ipv6;   /**< IPv6 socket address.       */ 
    538     } addr; 
     532     * The socket address 
     533     */ 
     534    pj_sockaddr         sockaddr; 
    539535 
    540536} pj_stun_sockaddr_attr; 
     
    15361532 
    15371533 
    1538 #endif  /* __PJLIB_UTIL_STUN_MSG_H__ */ 
    1539  
     1534#endif  /* __PJNATH_STUN_MSG_H__ */ 
     1535 
Note: See TracChangeset for help on using the changeset viewer.