include: net: http: rename http_x.h http/x.h
Some minor housekeeping prior to adding an http server implementation. There are already a number of http headers and that number will likely increase with subsequent work. Moving them into a common directory cleans up the `include/net` directory a bit. Signed-off-by: Christopher Friedt <cfriedt@meta.com>
This commit is contained in:
parent
f6b73f413c
commit
dbe2c0d59e
18 changed files with 19 additions and 19 deletions
|
@ -22,7 +22,7 @@
|
|||
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/net/net_ip.h>
|
||||
#include <zephyr/net/http_parser.h>
|
||||
#include <zephyr/net/http/parser.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
|
@ -46,8 +46,8 @@ typedef unsigned __int64 uint64_t;
|
|||
#include <stddef.h>
|
||||
#endif
|
||||
#include <zephyr/net/http/method.h>
|
||||
#include <zephyr/net/http_parser_state.h>
|
||||
#include <zephyr/net/http_parser_url.h>
|
||||
#include <zephyr/net/http/parser_state.h>
|
||||
#include <zephyr/net/http/parser_url.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
|
@ -26,7 +26,7 @@
|
|||
#include <sys/types.h>
|
||||
#include <zephyr/types.h>
|
||||
#include <stddef.h>
|
||||
#include <zephyr/net/http_parser_state.h>
|
||||
#include <zephyr/net/http/parser_state.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
|
@ -16,8 +16,8 @@
|
|||
#include <zephyr/kernel.h>
|
||||
|
||||
#include <zephyr/net/net_ip.h>
|
||||
#include <zephyr/net/http_parser.h>
|
||||
#include <zephyr/net/http_client.h>
|
||||
#include <zephyr/net/http/parser.h>
|
||||
#include <zephyr/net/http/client.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
@ -9,7 +9,7 @@ LOG_MODULE_REGISTER(tagoio_http_post, CONFIG_TAGOIO_HTTP_POST_LOG_LEVEL);
|
|||
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/net/socket.h>
|
||||
#include <zephyr/net/http_client.h>
|
||||
#include <zephyr/net/http/client.h>
|
||||
#include <zephyr/random/rand32.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ LOG_MODULE_DECLARE(tagoio_http_post, CONFIG_TAGOIO_HTTP_POST_LOG_LEVEL);
|
|||
#include <zephyr/net/socketutils.h>
|
||||
#include <zephyr/net/dns_resolve.h>
|
||||
#include <zephyr/net/tls_credentials.h>
|
||||
#include <zephyr/net/http_client.h>
|
||||
#include <zephyr/net/http/client.h>
|
||||
|
||||
#include "sockets.h"
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ LOG_MODULE_REGISTER(net_http_client_sample, LOG_LEVEL_DBG);
|
|||
#include <zephyr/net/net_ip.h>
|
||||
#include <zephyr/net/socket.h>
|
||||
#include <zephyr/net/tls_credentials.h>
|
||||
#include <zephyr/net/http_client.h>
|
||||
#include <zephyr/net/http/client.h>
|
||||
|
||||
#include "ca_certificate.h"
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ LOG_MODULE_REGISTER(hawkbit, CONFIG_HAWKBIT_LOG_LEVEL);
|
|||
#include <zephyr/net/net_mgmt.h>
|
||||
#include <zephyr/sys/reboot.h>
|
||||
#include <zephyr/drivers/flash.h>
|
||||
#include <zephyr/net/http_client.h>
|
||||
#include <zephyr/net/http/client.h>
|
||||
#include <zephyr/net/dns_resolve.h>
|
||||
#include <zephyr/logging/log_ctrl.h>
|
||||
#include <zephyr/storage/flash_map.h>
|
||||
|
|
|
@ -22,7 +22,7 @@ LOG_MODULE_REGISTER(net_http, CONFIG_NET_HTTP_LOG_LEVEL);
|
|||
|
||||
#include <zephyr/net/net_ip.h>
|
||||
#include <zephyr/net/socket.h>
|
||||
#include <zephyr/net/http_client.h>
|
||||
#include <zephyr/net/http/client.h>
|
||||
|
||||
#include "net_private.h"
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
* IN THE SOFTWARE.
|
||||
*/
|
||||
#include <zephyr/net/http_parser.h>
|
||||
#include <zephyr/net/http/parser.h>
|
||||
#include <zephyr/sys/__assert.h>
|
||||
#include <stddef.h>
|
||||
#include <ctype.h>
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
#include <zephyr/net/http_parser_url.h>
|
||||
#include <zephyr/net/http/parser_url.h>
|
||||
#include <zephyr/toolchain.h>
|
||||
|
||||
#ifndef BIT_AT
|
||||
|
|
|
@ -26,7 +26,7 @@ LOG_MODULE_REGISTER(LOG_MODULE_NAME);
|
|||
#include <string.h>
|
||||
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/net/http_parser_url.h>
|
||||
#include <zephyr/net/http/parser_url.h>
|
||||
#include <zephyr/net/lwm2m.h>
|
||||
#include <zephyr/net/net_ip.h>
|
||||
#include <zephyr/net/socket.h>
|
||||
|
|
|
@ -26,7 +26,7 @@ LOG_MODULE_REGISTER(LOG_MODULE_NAME);
|
|||
#include <string.h>
|
||||
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/net/http_parser_url.h>
|
||||
#include <zephyr/net/http/parser_url.h>
|
||||
#include <zephyr/net/lwm2m.h>
|
||||
#include <zephyr/net/lwm2m_path.h>
|
||||
#include <zephyr/net/net_ip.h>
|
||||
|
|
|
@ -30,7 +30,7 @@ LOG_MODULE_REGISTER(LOG_MODULE_NAME);
|
|||
#include <string.h>
|
||||
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/net/http_parser_url.h>
|
||||
#include <zephyr/net/http/parser_url.h>
|
||||
#include <zephyr/net/lwm2m.h>
|
||||
#include <zephyr/net/net_ip.h>
|
||||
#include <zephyr/net/socket.h>
|
||||
|
|
|
@ -15,7 +15,7 @@ LOG_MODULE_REGISTER(LOG_MODULE_NAME);
|
|||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <zephyr/net/http_parser.h>
|
||||
#include <zephyr/net/http/parser.h>
|
||||
#include <zephyr/net/socket.h>
|
||||
|
||||
#include "lwm2m_pull_context.h"
|
||||
|
|
|
@ -28,7 +28,7 @@ LOG_MODULE_REGISTER(net_websocket, CONFIG_NET_WEBSOCKET_LOG_LEVEL);
|
|||
#else
|
||||
#include <zephyr/net/socket.h>
|
||||
#endif
|
||||
#include <zephyr/net/http_client.h>
|
||||
#include <zephyr/net/http/client.h>
|
||||
#include <zephyr/net/websocket.h>
|
||||
|
||||
#include <zephyr/random/rand32.h>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
* IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include <zephyr/net/http_parser.h>
|
||||
#include <zephyr/net/http/parser.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue