summaryrefslogtreecommitdiff
path: root/pjnath/include
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-03-14 17:56:11 +0000
committerBenny Prijono <bennylp@teluu.com>2008-03-14 17:56:11 +0000
commit685aef52bcf830cb591798cd0814dd4a10605497 (patch)
tree3c25f3b536fdec539edc3b640c4b8594b77ebe9f /pjnath/include
parente2b198a3e133146b85c7a7c6b12af02e5735fe8b (diff)
More ticket #485: initial test on TURN client/server
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1869 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjnath/include')
-rw-r--r--pjnath/include/pjnath/stun_auth.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pjnath/include/pjnath/stun_auth.h b/pjnath/include/pjnath/stun_auth.h
index 849d2e0a..840e473d 100644
--- a/pjnath/include/pjnath/stun_auth.h
+++ b/pjnath/include/pjnath/stun_auth.h
@@ -277,6 +277,9 @@ PJ_DECL(void) pj_stun_auth_cred_dup(pj_pool_t *pool,
* the message.
* @param pool If response is to be created, then memory will
* be allocated from this pool.
+ * @param auth_key Optional pointer to receive authentication key to
+ * calculate MESSAGE-INTEGRITY of the response, if
+ * the response needs to be authenticated.
* @param p_response Optional pointer to receive the response message
* then the credential in the request fails to
* authenticate.
@@ -291,6 +294,7 @@ PJ_DECL(pj_status_t) pj_stun_authenticate_request(const pj_uint8_t *pkt,
const pj_stun_msg *msg,
pj_stun_auth_cred *cred,
pj_pool_t *pool,
+ pj_str_t *auth_key,
pj_stun_msg **p_response);