diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-03-10 23:15:36 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-03-10 23:15:36 +0000 |
commit | 64f5af70111821e4319624057b9271066591935c (patch) | |
tree | 793e5ce1f06c2597cc05f73561d3bfbf270f5601 /pjlib-util/src/pjstun-srv-test/server.h | |
parent | fc33da579874f81621521875f9e4cffda0a327b1 (diff) |
Completed and tested (simple test) the TURN server and command line STUN/TURN client
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1054 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib-util/src/pjstun-srv-test/server.h')
-rw-r--r-- | pjlib-util/src/pjstun-srv-test/server.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/pjlib-util/src/pjstun-srv-test/server.h b/pjlib-util/src/pjstun-srv-test/server.h index 491a1af3..a88d87c2 100644 --- a/pjlib-util/src/pjstun-srv-test/server.h +++ b/pjlib-util/src/pjstun-srv-test/server.h @@ -112,11 +112,16 @@ PJ_DECL(pj_status_t) pj_stun_usage_sendto(pj_stun_usage *usage, const pj_sockaddr_t *dst_addr, unsigned addr_len); -PJ_DEF(pj_status_t) pj_stun_bind_usage_create(pj_stun_server *srv, - const pj_str_t *ip_addr, - unsigned port, - pj_stun_usage **p_bu); - +PJ_DECL(pj_status_t) pj_stun_bind_usage_create(pj_stun_server *srv, + const pj_str_t *ip_addr, + unsigned port, + pj_stun_usage **p_bu); + +PJ_DECL(pj_status_t) pj_stun_turn_usage_create(pj_stun_server *srv, + int type, + const pj_str_t *ip_addr, + unsigned port, + pj_stun_usage **p_bu); pj_status_t pj_stun_server_register_usage(pj_stun_server *srv, |