Skip to content

Commit

Permalink
fixes nanomsg#510 HTTP and TLS man pages refer to private symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Jun 8, 2018
1 parent b9cb718 commit ad927e2
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion docs/man/nng_http_req_copy_data.3http.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ and sets the HTTP body for the request _req_ to it.
The copy will be deallocated automatically when _req_ is freed.

The copied body data will be automatically sent with the request when it
is sent using `<<nng_http_conn_write_req.3http#,nni_http_conn_write_req()>>`.
is sent using `<<nng_http_conn_write_req.3http#,nng_http_conn_write_req()>>`.

This also updates the relevant `Content-Length` header of _req_.

Expand Down
2 changes: 1 addition & 1 deletion docs/man/nng_http_req_set_data.3http.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ int nng_http_req_set_data(nng_http_req *req, const void *body, size_t size);
The `nng_http_req_set_data()` sets the HTTP body associated with
the request _req_ to _body_, and the size of the body to _size_.
This body data will be automatically sent with the request when it
is sent using `<<nng_http_conn_write_req.3http#,nni_http_conn_write_req()>>`.
is sent using `<<nng_http_conn_write_req.3http#,nng_http_conn_write_req()>>`.

This also updates the relevant `Content-Length` header of _req_.

Expand Down
2 changes: 1 addition & 1 deletion docs/man/nng_http_res_copy_data.3http.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ and sets the HTTP body for the response _res_ to it.
The copy will be deallocated automatically when _res_ is freed.

The copied body data will be automatically sent with the response when it
is sent using `<<nng_http_conn_write_res.3http#,nni_http_conn_write_res()>>`.
is sent using `<<nng_http_conn_write_res.3http#,nng_http_conn_write_res()>>`.

This also updates the relevant `Content-Length` header of _res_.

Expand Down
2 changes: 1 addition & 1 deletion docs/man/nng_http_res_set_data.3http.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ int nng_http_res_set_data(nng_http_res *res, const void *body, size_t size);
The `nng_http_res_set_data()` sets the HTTP body associated with
the response _res_ to _body_, and the size of the body to _size_.
This body data will be automatically sent with the response when it
is sent using `<<nng_http_conn_write_res.3http#,nni_http_conn_write_res()>>`.
is sent using `<<nng_http_conn_write_res.3http#,nng_http_conn_write_res()>>`.

This also updates the relevant `Content-Length` header of _res_.

Expand Down
2 changes: 1 addition & 1 deletion docs/man/nng_tls_config_alloc.3tls.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ typedef enum nng_tls_mode {
NNG_TLS_MODE_SERVER
} nng_tls_mode;
int nng_tls_config_alloc(nni_tls_config **cfgp, nng_tls_mode mode);
int nng_tls_config_alloc(nng_tls_config **cfgp, nng_tls_mode mode);
----

== DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion docs/man/nng_tls_config_auth_mode.3tls.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ typedef enum nng_tls_auth_mode {
NNG_TLS_AUTH_MODE_REQUIRED
} nng_tls_auth_mode;
int nng_tls_config_auth_mode(nni_tls_config *cfg, nng_tls_auth_mode mode);
int nng_tls_config_auth_mode(nng_tls_config *cfg, nng_tls_auth_mode mode);
----

== DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion docs/man/nng_tls_config_ca_chain.3tls.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ nng_tls_config_ca_chain - configure certificate authority certificate chain
#include <nng/nng.h>
#include <nng/supplemental/tls/tls.h>
int nng_tls_config_ca_cert(nni_tls_config *cfg, const char *chain,
int nng_tls_config_ca_cert(nng_tls_config *cfg, const char *chain,
const char *crl);
----

Expand Down
2 changes: 1 addition & 1 deletion docs/man/nng_tls_config_ca_file.3tls.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ nng_tls_config_ca_file - load certificate authority from file
#include <nng/nng.h>
#include <nng/supplemental/tls/tls.h>
int nng_tls_config_ca_file(nni_tls_config *cfg, const char *path);
int nng_tls_config_ca_file(nng_tls_config *cfg, const char *path);
----

== DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion docs/man/nng_tls_config_cert_key_file.3tls.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ nng_tls_config_cert_key_file - load own certificate and key from file
#include <nng/nng.h>
#include <nng/supplemental/tls/tls.h>
int nng_tls_config_cert_key_file(nni_tls_config *cfg, const char *path,
int nng_tls_config_cert_key_file(nng_tls_config *cfg, const char *path,
const char *pass);
----

Expand Down
2 changes: 1 addition & 1 deletion docs/man/nng_tls_config_free.3tls.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ nng_tls_config_free - deallocate a TLS configuration object
#include <nng/nng.h>
#include <nng/supplemental/tls/tls.h>
void nng_tls_config_free(nni_tls_config *cfg);
void nng_tls_config_free(nng_tls_config *cfg);
----

== DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion docs/man/nng_tls_config_own_cert.3tls.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ nng_tls_config_own_cert - configure own certificate and key
#include <nng/nng.h>
#include <nng/supplemental/tls/tls.h>
int nng_tls_config_own_cert(nni_tls_config *cfg, const char *cert,
int nng_tls_config_own_cert(nng_tls_config *cfg, const char *cert,
const char *key, const char *pass);
----

Expand Down
2 changes: 1 addition & 1 deletion docs/man/nng_tls_config_server_name.3tls.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ nng_tls_config_server_name - configure remote server name
#include <nng/nng.h>
#include <nng/supplemental/tls/tls.h>
int nng_tls_config_server_name(nni_tls_config *cfg, const char *name);
int nng_tls_config_server_name(nng_tls_config *cfg, const char *name);
----

== DESCRIPTION
Expand Down

0 comments on commit ad927e2

Please sign in to comment.