aboutsummaryrefslogtreecommitdiff
path: root/src/supplemental/http/http_client.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-02-01 16:48:20 -0800
committerGarrett D'Amore <garrett@damore.org>2018-02-01 20:07:09 -0800
commit5e5f814d63d4e00365b0ae726bc18831aa28e88f (patch)
tree804a930d4f9f941cd75e156f169a52e7110ef1e9 /src/supplemental/http/http_client.c
parent3dae30ed5e543dc73fc993334ef56b9b157b9b3c (diff)
downloadnng-5e5f814d63d4e00365b0ae726bc18831aa28e88f.tar.gz
nng-5e5f814d63d4e00365b0ae726bc18831aa28e88f.tar.bz2
nng-5e5f814d63d4e00365b0ae726bc18831aa28e88f.zip
fixes #174 Define public HTTP client API
Diffstat (limited to 'src/supplemental/http/http_client.c')
-rw-r--r--src/supplemental/http/http_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/supplemental/http/http_client.c b/src/supplemental/http/http_client.c
index 345e5947..918b7b09 100644
--- a/src/supplemental/http/http_client.c
+++ b/src/supplemental/http/http_client.c
@@ -18,7 +18,7 @@
#include "http.h"
-struct nni_http_client {
+struct nng_http_client {
nni_list aios;
nni_mtx mtx;
bool closed;
@@ -95,7 +95,7 @@ nni_http_client_fini(nni_http_client *c)
}
int
-nni_http_client_init(nni_http_client **cp, nni_url *url)
+nni_http_client_init(nni_http_client **cp, const nni_url *url)
{
int rv;
nni_http_client *c;