summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsip/sip_auth.h
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2010-12-01 08:53:52 +0000
committerNanang Izzuddin <nanang@teluu.com>2010-12-01 08:53:52 +0000
commitc269854b4f908fe8fb03590cb1dc217d4d518db4 (patch)
tree90c1bcd26cfd210e5237b998fe0067182a1ffff6 /pjsip/include/pjsip/sip_auth.h
parenta8e98c468d836b37bd202d356626a22a0a8863ea (diff)
Misc (re #1151): fixed pjsua_acc_config_dup(), some fields, i.e: contact_params, contact_uri_params, and auth_pref, were not duplicated properly (thanks Roman Grachev for the report and the patch).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3377 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsip/sip_auth.h')
-rw-r--r--pjsip/include/pjsip/sip_auth.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/pjsip/include/pjsip/sip_auth.h b/pjsip/include/pjsip/sip_auth.h
index eb835d27..c24f6ff0 100644
--- a/pjsip/include/pjsip/sip_auth.h
+++ b/pjsip/include/pjsip/sip_auth.h
@@ -206,6 +206,18 @@ typedef struct pjsip_auth_clt_pref
/**
+ * Duplicate a client authentication preference setting.
+ *
+ * @param pool The memory pool.
+ * @param dst Destination client authentication preference.
+ * @param src Source client authentication preference.
+ */
+PJ_DECL(void) pjsip_auth_clt_pref_dup(pj_pool_t *pool,
+ pjsip_auth_clt_pref *dst,
+ const pjsip_auth_clt_pref *src);
+
+
+/**
* This structure describes client authentication sessions. It keeps
* all the information needed to authorize the client against all downstream
* servers.