diff options
Diffstat (limited to 'libnet/inc')
-rw-r--r-- | libnet/inc/http.h | 10 | ||||
-rw-r--r-- | libnet/inc/net.h | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/libnet/inc/http.h b/libnet/inc/http.h new file mode 100644 index 0000000..30de9ba --- /dev/null +++ b/libnet/inc/http.h @@ -0,0 +1,10 @@ +// MIT License, Copyright (c) 2020 Marvin Borner + +#ifndef HTTP_H +#define HTTP_H + +char *http_data(char *response); +char *http_query_get(const char *url, const char *path); +char *http_code(char *r); + +#endif diff --git a/libnet/inc/net.h b/libnet/inc/net.h index fa4284c..6ff9619 100644 --- a/libnet/inc/net.h +++ b/libnet/inc/net.h @@ -3,6 +3,7 @@ #ifndef NET_H #define NET_H +#include <http.h> #include <socket.h> #include <sys.h> |