Ignore:
Timestamp:
Mar 21, 2007 10:05:58 PM (17 years ago)
Author:
bennylp
Message:

Added pjnath-test

File:
1 edited

Legend:

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

    r1092 r1093  
    2121 
    2222/** 
    23  * @file ice_sock.h 
    24  * @brief ICE socket. 
     23 * @file ice.h 
     24 * @brief ICE. 
    2525 */ 
    2626#include <pjnath/types.h> 
     
    2929#include <pj/timer.h> 
    3030 
     31/** 
     32 * @defgroup PJNATH_ICE Interactive Connectivity Establishment (ICE) 
     33 * @brief Interactive Connectivity Establishment (ICE) 
     34 * @ingroup PJNATH 
     35 */ 
     36 
    3137 
    3238PJ_BEGIN_DECL 
    3339 
    3440 
    35 /* **************************************************************************/ 
    36 /** 
    37  * @defgroup PJNATH_ICE_SOCK ICE Socket 
    38  * @brief High level ICE socket abstraction. 
    39  * @ingroup PJNATH 
     41/** 
     42 * @defgroup PJNATH_ICE_STREAM Transport Independent ICE Media Stream 
     43 * @brief Transport Independent ICE Media Stream 
     44 * @ingroup PJNATH_ICE 
    4045 * @{ 
    4146 */ 
     
    166171 
    167172    pj_pool_t           *pool; 
     173    void                *user_data; 
    168174    pj_mutex_t          *mutex; 
    169     int                  af; 
    170     int                  sock_type; 
    171175    pj_ice_role          role; 
    172176    pj_bool_t            is_complete; 
     
    177181 
    178182    /* STUN credentials */ 
     183    pj_str_t             tx_ufrag; 
    179184    pj_str_t             tx_uname; 
    180185    pj_str_t             tx_pass; 
     186    pj_str_t             rx_ufrag; 
    181187    pj_str_t             rx_uname; 
    182188    pj_str_t             rx_pass; 
     
    207213                                   pj_ice_role role, 
    208214                                   const pj_ice_cb *cb, 
    209                                    int af, 
    210                                    int sock_type, 
    211215                                   pj_ice **p_ice); 
    212216PJ_DECL(pj_status_t) pj_ice_destroy(pj_ice *ice); 
     
    215219                                     const pj_sockaddr_t *local_addr, 
    216220                                     unsigned addr_len); 
    217 PJ_DECL(pj_status_t) pj_ice_add_sock_comp(pj_ice *ice, 
    218                                           unsigned comp_id, 
    219                                           pj_sock_t sock); 
    220221PJ_DECL(pj_status_t) pj_ice_set_credentials(pj_ice *ice, 
    221222                                            const pj_str_t *local_ufrag, 
Note: See TracChangeset for help on using the changeset viewer.