summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsua-lib
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-12-25 06:43:59 +0000
committerBenny Prijono <bennylp@teluu.com>2006-12-25 06:43:59 +0000
commitd6a9dded719756a7a873f1f9a6c1d201859b0ee6 (patch)
tree9db7148d26d53dedb2c91dc8bbb5da20c163faa0 /pjsip/include/pjsua-lib
parent94aaa0ce2af8bf9799752bb6cb6c9989d60bc612 (diff)
Major TLS work (ticket #3): asynchronous socket, rather complete TLS options, and pjsua integration. The TLS support should work in both client and server mode.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@861 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsua-lib')
-rw-r--r--pjsip/include/pjsua-lib/pjsua.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h
index a964c49f..eda850a5 100644
--- a/pjsip/include/pjsua-lib/pjsua.h
+++ b/pjsip/include/pjsua-lib/pjsua.h
@@ -841,19 +841,9 @@ typedef struct pjsua_transport_config
pjsua_stun_config stun_config;
/**
- * TLS root CA file path (only used for TLS transport).
+ * TLS settings.
*/
- pj_str_t tls_ca_file;
-
- /**
- * TLS client key path (only used for TLS transport).
- */
- pj_str_t tls_key_file;
-
- /**
- * TLS password (only used for TLS transport).
- */
- pj_str_t tls_password;
+ pjsip_tls_setting tls_setting;
} pjsua_transport_config;
@@ -866,6 +856,7 @@ typedef struct pjsua_transport_config
PJ_INLINE(void) pjsua_transport_config_default(pjsua_transport_config *cfg)
{
pj_bzero(cfg, sizeof(*cfg));
+ pjsip_tls_setting_default(&cfg->tls_setting);
}