Ignore:
Timestamp:
Feb 22, 2006 10:10:42 PM (15 years ago)
Author:
bennylp
Message:

Started errno framework in pjlib-util

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/include/pjlib-util/stun.h

    r166 r217  
    119119PJ_DECL(void*) pj_stun_msg_find_attr( pj_stun_msg *msg, pj_stun_attr_type t); 
    120120 
    121 /* STUN simple client API (stun_client.c) */ 
    122 enum pj_stun_err_code { 
    123     PJ_STUN_ERR_MEMORY          = (-2), 
    124     PJ_STUN_ERR_RESOLVE         = (-3), 
    125     PJ_STUN_ERR_TRANSPORT       = (-4), 
    126     PJ_STUN_ERR_INVALID_MSG     = (-5), 
    127     PJ_STUN_ERR_NO_RESPONSE     = (-6), 
    128     PJ_STUN_ERR_SYMETRIC        = (-7), 
    129 }; 
    130  
    131121PJ_DECL(pj_status_t) pj_stun_get_mapped_addr( pj_pool_factory *pf, 
    132122                                              int sock_cnt, pj_sock_t sock[], 
     
    134124                                              const pj_str_t *srv2, int port2, 
    135125                                              pj_sockaddr_in mapped_addr[]); 
    136 PJ_DECL(const char*) pj_stun_get_err_msg(pj_status_t status); 
    137126 
    138127PJ_END_DECL 
Note: See TracChangeset for help on using the changeset viewer.