Changeset 1080 for pjproject/trunk/pjnath/include/pjnath/stun_endpoint.h
- Timestamp:
- Mar 18, 2007 5:39:27 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/include/pjnath/stun_endpoint.h
r1062 r1080 17 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 18 */ 19 #ifndef __PJ LIB_UTIL_STUN_ENDPOINT_H__20 #define __PJ LIB_UTIL_STUN_ENDPOINT_H__19 #ifndef __PJNATH_STUN_CONFIG_H__ 20 #define __PJNATH_STUN_CONFIG_H__ 21 21 22 22 /** 23 * @file stun_ endpoint.h23 * @file stun_config.h 24 24 * @brief STUN endpoint. 25 25 */ 26 26 27 #include <pj lib-util/stun_msg.h>27 #include <pjnath/stun_msg.h> 28 28 29 29 … … 33 33 /* **************************************************************************/ 34 34 /** 35 * @defgroup PJ LIB_UTIL_STUN_ENDPOINT STUN Endpoint35 * @defgroup PJNATH_STUN_ENDPOINT STUN Endpoint 36 36 * @brief Management of incoming and outgoing STUN transactions. 37 * @ingroup PJ LIB_UTIL_STUN37 * @ingroup PJNATH_STUN 38 38 * @{ 39 39 */ … … 44 44 * can send or receive STUN messages. 45 45 */ 46 typedef struct pj_stun_ endpoint46 typedef struct pj_stun_config 47 47 { 48 48 /** … … 87 87 unsigned res_cache_msec; 88 88 89 } pj_stun_ endpoint;89 } pj_stun_config; 90 90 91 91 … … 94 94 * Create a STUN endpoint instance. 95 95 */ 96 PJ_DECL(pj_status_t) pj_stun_ endpoint_create(pj_pool_factory *factory,97 98 99 100 pj_stun_endpoint**p_endpt);96 PJ_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); 101 101 102 102 /** 103 103 * Destroy STUN endpoint instance. 104 104 */ 105 PJ_DECL(pj_status_t) pj_stun_ endpoint_destroy(pj_stun_endpoint*endpt);105 PJ_DECL(pj_status_t) pj_stun_config_destroy(pj_stun_config *endpt); 106 106 107 107 … … 114 114 115 115 116 #endif /* __PJ LIB_UTIL_STUN_ENDPOINT_H__ */116 #endif /* __PJNATH_STUN_CONFIG_H__ */ 117 117
Note: See TracChangeset
for help on using the changeset viewer.