aboutsummaryrefslogtreecommitdiff
path: root/docs/man/nng_http_handler_set_data.3http.adoc
diff options
context:
space:
mode:
authorFred Eisele <fredrick.eisele@gmail.com>2018-08-09 13:51:26 -0500
committerGarrett D'Amore <garrett@damore.org>2018-08-11 17:21:47 +0300
commitc33c5fc5191bbfe794eac5c3548171c628458495 (patch)
tree11a996fd1e8f88947cc6db02f40b87c0a3e9eb38 /docs/man/nng_http_handler_set_data.3http.adoc
parent1a752ba26a7c65c386ae5431b2615ace25db9521 (diff)
downloadnng-c33c5fc5191bbfe794eac5c3548171c628458495.tar.gz
nng-c33c5fc5191bbfe794eac5c3548171c628458495.tar.bz2
nng-c33c5fc5191bbfe794eac5c3548171c628458495.zip
updates to the documentation
Diffstat (limited to 'docs/man/nng_http_handler_set_data.3http.adoc')
-rw-r--r--docs/man/nng_http_handler_set_data.3http.adoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/man/nng_http_handler_set_data.3http.adoc b/docs/man/nng_http_handler_set_data.3http.adoc
index 120c4618..9fd622b0 100644
--- a/docs/man/nng_http_handler_set_data.3http.adoc
+++ b/docs/man/nng_http_handler_set_data.3http.adoc
@@ -11,7 +11,7 @@
== NAME
-nng_http_handler_get_data - set extra data for HTTP handler
+nng_http_handler_set_data - set extra data for HTTP handler
== SYNOPSIS
@@ -20,7 +20,7 @@ nng_http_handler_get_data - set extra data for HTTP handler
#include <nng/nng.h>
#include <nng/supplemental/http/http.h>
-void *nng_http_handler_get_data(nng_http_handler *handler, void *data,
+int nng_http_handler_set_data(nng_http_handler *handler, void *data,
void (*dtor)(void *));
----