Ignore:
Timestamp:
Apr 14, 2008 1:48:39 AM (14 years ago)
Author:
bennylp
Message:

More ticket #485: huge changeset to integrate TURN with ICE and PJSUA-LIB/pjsua. Still experimental

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/ice-turn07/pjnath/include/pjnath/turn_sock.h

    r1913 r1926  
    1717 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  
    1818 */ 
    19 #ifndef __PJNATH_turn_sock_H__ 
    20 #define __PJNATH_turn_sock_H__ 
     19#ifndef __PJNATH_TURN_SOCK_H__ 
     20#define __PJNATH_TURN_SOCK_H__ 
    2121 
    2222/** 
     
    5454     */ 
    5555    void (*on_rx_data)(pj_turn_sock *turn_sock, 
    56                        const pj_uint8_t *pkt, 
     56                       void *pkt, 
    5757                       unsigned pkt_len, 
    5858                       const pj_sockaddr_t *peer_addr, 
     
    105105 
    106106/** 
     107 * Lock the TURN socket. Application may need to call this function to 
     108 * synchronize access to other objects to avoid deadlock. 
     109 */ 
     110PJ_DECL(pj_status_t) pj_turn_sock_lock(pj_turn_sock *turn_sock); 
     111 
     112 
     113/** 
     114 * Unlock the TURN socket. 
     115 */ 
     116PJ_DECL(pj_status_t) pj_turn_sock_unlock(pj_turn_sock *turn_sock); 
     117 
     118 
     119/** 
    107120 * Initialize. 
    108121 */ 
     
    139152 
    140153 
    141 #endif  /* __PJNATH_turn_sock_H__ */ 
     154#endif  /* __PJNATH_TURN_SOCK_H__ */ 
    142155 
Note: See TracChangeset for help on using the changeset viewer.