aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/man/nng_tls_config_alloc.adoc1
-rw-r--r--docs/man/nng_tls_config_auth_mode.adoc1
-rw-r--r--docs/man/nng_tls_config_ca_chain.adoc1
-rw-r--r--docs/man/nng_tls_config_ca_file.adoc1
-rw-r--r--docs/man/nng_tls_config_cert_key_file.adoc1
-rw-r--r--docs/man/nng_tls_config_free.adoc1
-rw-r--r--docs/man/nng_tls_config_own_cert.adoc1
-rw-r--r--docs/man/nng_tls_config_server_name.adoc1
8 files changed, 8 insertions, 0 deletions
diff --git a/docs/man/nng_tls_config_alloc.adoc b/docs/man/nng_tls_config_alloc.adoc
index e67982da..09ea6051 100644
--- a/docs/man/nng_tls_config_alloc.adoc
+++ b/docs/man/nng_tls_config_alloc.adoc
@@ -18,6 +18,7 @@ nng_tls_config_alloc - allocate TLS configuration object
[source, c]
-----------
#include <nng/nng.h>
+#include <nng/supplemental/tls/tls.h>
typedef enum nng_tls_mode {
NNG_TLS_MODE_CLIENT,
diff --git a/docs/man/nng_tls_config_auth_mode.adoc b/docs/man/nng_tls_config_auth_mode.adoc
index 1c0f70ec..af27cb5e 100644
--- a/docs/man/nng_tls_config_auth_mode.adoc
+++ b/docs/man/nng_tls_config_auth_mode.adoc
@@ -18,6 +18,7 @@ nng_tls_config_auth_mode - configure authentication mode
[source, c]
-----------
#include <nng/nng.h>
+#include <nng/supplemental/tls/tls.h>
typedef enum nng_tls_auth_mode {
NNG_TLS_AUTH_MODE_NONE,
diff --git a/docs/man/nng_tls_config_ca_chain.adoc b/docs/man/nng_tls_config_ca_chain.adoc
index cac92b3c..44258998 100644
--- a/docs/man/nng_tls_config_ca_chain.adoc
+++ b/docs/man/nng_tls_config_ca_chain.adoc
@@ -18,6 +18,7 @@ nng_tls_config_ca_chain - configure certificate authority certificate chain
[source, c]
-----------
#include <nng/nng.h>
+#include <nng/supplemental/tls/tls.h>
int nng_tls_config_ca_cert(nni_tls_config *cfg, const char *chain,
const char *crl);
diff --git a/docs/man/nng_tls_config_ca_file.adoc b/docs/man/nng_tls_config_ca_file.adoc
index 833c6747..6aeb7e01 100644
--- a/docs/man/nng_tls_config_ca_file.adoc
+++ b/docs/man/nng_tls_config_ca_file.adoc
@@ -18,6 +18,7 @@ nng_tls_config_ca_file - load certificate authority from file
[source, c]
-----------
#include <nng/nng.h>
+#include <nng/supplemental/tls/tls.h>
int nng_tls_config_ca_file(nni_tls_config *cfg, const char *path);
-----------
diff --git a/docs/man/nng_tls_config_cert_key_file.adoc b/docs/man/nng_tls_config_cert_key_file.adoc
index 9e1424b6..c511c5b5 100644
--- a/docs/man/nng_tls_config_cert_key_file.adoc
+++ b/docs/man/nng_tls_config_cert_key_file.adoc
@@ -18,6 +18,7 @@ nng_tls_config_cert_key_file - load own certificate and key from file
[source, c]
-----------
#include <nng/nng.h>
+#include <nng/supplemental/tls/tls.h>
int nng_tls_config_cert_key_file(nni_tls_config *cfg, const char *path,
const char *pass);
diff --git a/docs/man/nng_tls_config_free.adoc b/docs/man/nng_tls_config_free.adoc
index c1233b0b..9bd55a34 100644
--- a/docs/man/nng_tls_config_free.adoc
+++ b/docs/man/nng_tls_config_free.adoc
@@ -18,6 +18,7 @@ nng_tls_config_free - deallocate a TLS configuration object
[source, c]
-----------
#include <nng/nng.h>
+#include <nng/supplemental/tls/tls.h>
void nng_tls_config_free(nni_tls_config *cfg);
-----------
diff --git a/docs/man/nng_tls_config_own_cert.adoc b/docs/man/nng_tls_config_own_cert.adoc
index bd13fa92..7d2a081e 100644
--- a/docs/man/nng_tls_config_own_cert.adoc
+++ b/docs/man/nng_tls_config_own_cert.adoc
@@ -18,6 +18,7 @@ nng_tls_config_own_cert - configure own certificate and key
[source, c]
-----------
#include <nng/nng.h>
+#include <nng/supplemental/tls/tls.h>
int nng_tls_config_own_cert(nni_tls_config *cfg, const char *cert,
const char *key, const char *pass);
diff --git a/docs/man/nng_tls_config_server_name.adoc b/docs/man/nng_tls_config_server_name.adoc
index d533a809..8512d801 100644
--- a/docs/man/nng_tls_config_server_name.adoc
+++ b/docs/man/nng_tls_config_server_name.adoc
@@ -18,6 +18,7 @@ nng_tls_config_server_name - configure remote server name
[source, c]
-----------
#include <nng/nng.h>
+#include <nng/supplemental/tls/tls.h>
int nng_tls_config_server_name(nni_tls_config *cfg, const char *name);
-----------