summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-04-11 12:57:44 -0700
committerGarrett D'Amore <garrett@damore.org>2018-04-11 12:57:44 -0700
commit2d59ddc18e0e947b75249634531e67e2499a57ab (patch)
tree0edc4137142daa915e88be6db82f5ef2762e1143
parentb1b62a571355795b8192c805110aaf62036383a5 (diff)
downloadnng-2d59ddc18e0e947b75249634531e67e2499a57ab.tar.gz
nng-2d59ddc18e0e947b75249634531e67e2499a57ab.tar.bz2
nng-2d59ddc18e0e947b75249634531e67e2499a57ab.zip
We need to declare the TLS structure here.
Applications which may not even be using TLS should not have to know about the TLS configuration structure.
-rw-r--r--src/supplemental/http/http.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/supplemental/http/http.h b/src/supplemental/http/http.h
index fb96ce59..470ffbfa 100644
--- a/src/supplemental/http/http.h
+++ b/src/supplemental/http/http.h
@@ -21,6 +21,8 @@ extern "C" {
#include <stdint.h>
+typedef struct nng_tls_config nng_tls_config;
+
// HTTP status codes. This list is not exhaustive.
enum nng_http_status {
NNG_HTTP_STATUS_CONTINUE = 100,