Changeset 217 for pjproject/trunk/pjlib-util/include/pjlib-util/stun.h
- Timestamp:
- Feb 22, 2006 10:10:42 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/include/pjlib-util/stun.h
r166 r217 119 119 PJ_DECL(void*) pj_stun_msg_find_attr( pj_stun_msg *msg, pj_stun_attr_type t); 120 120 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 131 121 PJ_DECL(pj_status_t) pj_stun_get_mapped_addr( pj_pool_factory *pf, 132 122 int sock_cnt, pj_sock_t sock[], … … 134 124 const pj_str_t *srv2, int port2, 135 125 pj_sockaddr_in mapped_addr[]); 136 PJ_DECL(const char*) pj_stun_get_err_msg(pj_status_t status);137 126 138 127 PJ_END_DECL
Note: See TracChangeset
for help on using the changeset viewer.