#ifndef __API_H #define __API_H #include "stm32f4xx_hal.h" #include "main.h" #include "cookie.h" #include "ip_addr.h" typedef struct { cookie_token_data_typDef *cookie; char* json_data; uint16_t json_len; ip_addr_t *remote_addr; }request_typDef; void json_parse(request_typDef *json_request, char *json_response, uint16_t json_response_len, char *response_cookie); #endif /* __API_H */