diff options
| author | Gregor Burger <gregor.burger@bhs-technologies.com> | 2018-11-20 11:48:03 +0100 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-11-22 12:28:27 -0800 |
| commit | d6bb25e1e0a25cb5aa781ac4f90b513fd5624f50 (patch) | |
| tree | f081a6868a6c3d88b4df64ef20a38fb3e83925d1 /tests/httpclient.c | |
| parent | 8a9fd805d96201c780610b765f9e6dd9f2eda642 (diff) | |
| download | nng-d6bb25e1e0a25cb5aa781ac4f90b513fd5624f50.tar.gz nng-d6bb25e1e0a25cb5aa781ac4f90b513fd5624f50.tar.bz2 nng-d6bb25e1e0a25cb5aa781ac4f90b513fd5624f50.zip | |
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.
Diffstat (limited to 'tests/httpclient.c')
| -rw-r--r-- | tests/httpclient.c | 15 |
1 files changed, 10 insertions, 5 deletions
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 <arpa/inet.h> #endif -// Basic HTTP client tests. +#include <nng/nng.h> +#include <nng/supplemental/http/http.h> +#include <nng/supplemental/tls/tls.h> + #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, |
