diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-04-04 17:49:28 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-04-04 17:49:28 +0000 |
commit | 3881047a905d1da151fd84ae6c67ab20a45b0583 (patch) | |
tree | 6e9985e419e1e0e625490012a5dc89f48d151366 /pjnath/include | |
parent | 8149ac27024d5c49c2aed141bc850cce2a3cbee5 (diff) |
Added PJ_STUN_NO_AUTHENTICATE option to disable authentication in STUN session
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1151 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjnath/include')
-rw-r--r-- | pjnath/include/pjnath/stun_msg.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pjnath/include/pjnath/stun_msg.h b/pjnath/include/pjnath/stun_msg.h index b9a0db29..c67779e1 100644 --- a/pjnath/include/pjnath/stun_msg.h +++ b/pjnath/include/pjnath/stun_msg.h @@ -1029,7 +1029,14 @@ enum pj_stun_decode_options * message by calling pj_stun_msg_check() before starting to * decode the packet. */ - PJ_STUN_CHECK_PACKET = 2 + PJ_STUN_CHECK_PACKET = 2, + + /** + * This option current is only valid for #pj_stun_session_on_rx_pkt(). + * When specified, it tells the session NOT to authenticate the + * message. + */ + PJ_STUN_NO_AUTHENTICATE = 4 }; |