summaryrefslogtreecommitdiff
path: root/pjlib/include/pj/ssl_sock.h
diff options
context:
space:
mode:
authorRiza Sulistyo <riza@teluu.com>2014-06-19 05:07:12 +0000
committerRiza Sulistyo <riza@teluu.com>2014-06-19 05:07:12 +0000
commit727da5e28aa110f7931b696f1b1ba74e805bb9b4 (patch)
treef512a06809c4607bc07cd0c877f549a1ba09e580 /pjlib/include/pj/ssl_sock.h
parent97ebde15f373555da8309c7ebe657a2492b818b6 (diff)
Re #1771: Implement run-time configuration to set specific socket option.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4860 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/ssl_sock.h')
-rw-r--r--pjlib/include/pj/ssl_sock.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/pjlib/include/pj/ssl_sock.h b/pjlib/include/pj/ssl_sock.h
index 0d24a494..23843717 100644
--- a/pjlib/include/pj/ssl_sock.h
+++ b/pjlib/include/pj/ssl_sock.h
@@ -749,6 +749,22 @@ typedef struct pj_ssl_sock_param
*/
pj_bool_t qos_ignore_error;
+ /**
+ * Specify options to be set on the transport.
+ *
+ * By default there is no options.
+ *
+ */
+ pj_sockopt_params sockopt_params;
+
+ /**
+ * Specify if the transport should ignore any errors when setting the
+ * sockopt parameters.
+ *
+ * Default: PJ_TRUE
+ *
+ */
+ pj_bool_t sockopt_ignore_error;
} pj_ssl_sock_param;