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_endpoint.h

    r1062 r1080  
    1717 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  
    1818 */ 
    19 #ifndef __PJLIB_UTIL_STUN_ENDPOINT_H__ 
    20 #define __PJLIB_UTIL_STUN_ENDPOINT_H__ 
     19#ifndef __PJNATH_STUN_CONFIG_H__ 
     20#define __PJNATH_STUN_CONFIG_H__ 
    2121 
    2222/** 
    23  * @file stun_endpoint.h 
     23 * @file stun_config.h 
    2424 * @brief STUN endpoint. 
    2525 */ 
    2626 
    27 #include <pjlib-util/stun_msg.h> 
     27#include <pjnath/stun_msg.h> 
    2828 
    2929 
     
    3333/* **************************************************************************/ 
    3434/** 
    35  * @defgroup PJLIB_UTIL_STUN_ENDPOINT STUN Endpoint 
     35 * @defgroup PJNATH_STUN_ENDPOINT STUN Endpoint 
    3636 * @brief Management of incoming and outgoing STUN transactions. 
    37  * @ingroup PJLIB_UTIL_STUN 
     37 * @ingroup PJNATH_STUN 
    3838 * @{ 
    3939 */ 
     
    4444 * can send or receive STUN messages. 
    4545 */ 
    46 typedef struct pj_stun_endpoint 
     46typedef struct pj_stun_config 
    4747{ 
    4848    /** 
     
    8787    unsigned             res_cache_msec; 
    8888 
    89 } pj_stun_endpoint; 
     89} pj_stun_config; 
    9090 
    9191 
     
    9494 * Create a STUN endpoint instance. 
    9595 */ 
    96 PJ_DECL(pj_status_t) pj_stun_endpoint_create(pj_pool_factory *factory, 
    97                                              unsigned options, 
    98                                              pj_ioqueue_t *ioqueue, 
    99                                              pj_timer_heap_t *timer_heap, 
    100                                              pj_stun_endpoint **p_endpt); 
     96PJ_DECL(pj_status_t) pj_stun_config_create(pj_pool_factory *factory, 
     97                                           unsigned options, 
     98                                           pj_ioqueue_t *ioqueue, 
     99                                           pj_timer_heap_t *timer_heap, 
     100                                           pj_stun_config **p_endpt); 
    101101 
    102102/** 
    103103 * Destroy STUN endpoint instance. 
    104104 */ 
    105 PJ_DECL(pj_status_t) pj_stun_endpoint_destroy(pj_stun_endpoint *endpt); 
     105PJ_DECL(pj_status_t) pj_stun_config_destroy(pj_stun_config *endpt); 
    106106 
    107107 
     
    114114 
    115115 
    116 #endif  /* __PJLIB_UTIL_STUN_ENDPOINT_H__ */ 
     116#endif  /* __PJNATH_STUN_CONFIG_H__ */ 
    117117 
Note: See TracChangeset for help on using the changeset viewer.