summaryrefslogtreecommitdiff
path: root/common/include/ssl_stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/include/ssl_stream.h')
-rw-r--r--common/include/ssl_stream.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/include/ssl_stream.h b/common/include/ssl_stream.h
index a49e3a8..8da3ab0 100644
--- a/common/include/ssl_stream.h
+++ b/common/include/ssl_stream.h
@@ -1,5 +1,6 @@
#pragma once
#include <stdlib.h>
+#include <tfe_cmsg.h>
struct ssl_stream;
enum ssl_stream_action
@@ -44,5 +45,7 @@ int ssl_stream_set_integer_opt(struct ssl_stream *upstream, enum SSL_STREAM_OPT
int ssl_stream_get_integer_opt(struct ssl_stream *upstream, enum SSL_STREAM_OPT opt_type, int *opt_val);
int ssl_stream_get_string_opt(struct ssl_stream *upstream, enum SSL_STREAM_OPT opt_type, char* in_buff, size_t sz);
+void ssl_stream_set_cmsg_string(struct ssl_stream *stream, enum tfe_cmsg_tlv_type type, const char *value_str);
+
unsigned int is_ssl_debug();