Ignore:
Timestamp:
Mar 18, 2007 5:39:27 PM (17 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_session.h

    r1062 r1080  
    1717 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  
    1818 */ 
    19 #ifndef __PJLIB_UTIL_STUN_SESSION_H__ 
    20 #define __PJLIB_UTIL_STUN_SESSION_H__ 
    21  
    22 #include <pjlib-util/stun_msg.h> 
    23 #include <pjlib-util/stun_auth.h> 
    24 #include <pjlib-util/stun_endpoint.h> 
    25 #include <pjlib-util/stun_transaction.h> 
     19#ifndef __PJNATH_STUN_SESSION_H__ 
     20#define __PJNATH_STUN_SESSION_H__ 
     21 
     22#include <pjnath/stun_msg.h> 
     23#include <pjnath/stun_auth.h> 
     24#include <pjnath/stun_endpoint.h> 
     25#include <pjnath/stun_transaction.h> 
    2626#include <pj/list.h> 
    2727#include <pj/timer.h> 
     
    3232/* **************************************************************************/ 
    3333/** 
    34  * @defgroup PJLIB_UTIL_STUN_SESSION STUN Client/Server Session 
     34 * @defgroup PJNATH_STUN_SESSION STUN Client/Server Session 
    3535 * @brief STUN client and server session 
    36  * @ingroup PJLIB_UTIL_STUN 
     36 * @ingroup PJNATH_STUN 
    3737 * @{ 
    3838 */ 
     
    157157 * Create a STUN session. 
    158158 * 
    159  * @param endpt         The STUN endpoint, to be used to register timers etc. 
     159 * @param cfg           The STUN endpoint, to be used to register timers etc. 
    160160 * @param name          Optional name to be associated with this instance. The 
    161161 *                      name will be used for example for logging purpose. 
     
    166166 * @return          PJ_SUCCESS on success, or the appropriate error code. 
    167167 */ 
    168 PJ_DECL(pj_status_t) pj_stun_session_create(pj_stun_endpoint *endpt, 
     168PJ_DECL(pj_status_t) pj_stun_session_create(pj_stun_config *cfg, 
    169169                                            const char *name, 
    170170                                            const pj_stun_session_cb *cb, 
     
    369369PJ_END_DECL 
    370370 
    371 #endif  /* __PJLIB_UTIL_STUN_SESSION_H__ */ 
    372  
     371#endif  /* __PJNATH_STUN_SESSION_H__ */ 
     372 
Note: See TracChangeset for help on using the changeset viewer.