From d6bb25e1e0a25cb5aa781ac4f90b513fd5624f50 Mon Sep 17 00:00:00 2001 From: Gregor Burger Date: Tue, 20 Nov 2018 11:48:03 +0100 Subject: move all public headers to include/nng/ folder This change makes embedding nng + nggpp (or other projects depending on nng) in cmake easier. The header files are moved to a separate include directory. This also makes installation of the headers easier, and allows clearer identification of private vs public heade files. Some additional cleanups were performed by @gedamore, but the main credit for this change belongs with @gregorburger. --- tests/httpclient.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'tests/httpclient.c') diff --git a/tests/httpclient.c b/tests/httpclient.c index 75ecbae9..46950528 100644 --- a/tests/httpclient.c +++ b/tests/httpclient.c @@ -8,19 +8,24 @@ // found online at https://opensource.org/licenses/MIT. // -#include "convey.h" -#include "trantest.h" +// Basic HTTP client tests. + #ifndef _WIN32 #include #endif -// Basic HTTP client tests. +#include +#include +#include + #include "core/nng_impl.h" -#include "supplemental/http/http.h" + #include "supplemental/sha1/sha1.c" #include "supplemental/sha1/sha1.h" -#include "supplemental/tls/tls.h" + +#include "convey.h" +#include "trantest.h" const uint8_t example_sum[20] = { 0x0e, 0x97, 0x3b, 0x59, 0xf4, 0x76, 0x00, 0x7f, 0xd1, 0x0f, 0x87, 0xf3, 0x47, 0xc3, 0x95, 0x60, 0x65, 0x51, 0x6f, -- cgit v1.2.3-70-g09d2