source:
S-port/trunk/Core/Inc/api.h
| Last change on this file was 1, checked in by , 4 years ago | |
|---|---|
| File size: 412 bytes | |
| Line | |
|---|---|
| 1 | #ifndef __API_H |
| 2 | #define __API_H |
| 3 | |
| 4 | #include "stm32f4xx_hal.h" |
| 5 | #include "main.h" |
| 6 | #include "cookie.h" |
| 7 | #include "ip_addr.h" |
| 8 | |
| 9 | typedef struct { |
| 10 | cookie_token_data_typDef *cookie; |
| 11 | char* json_data; |
| 12 | uint16_t json_len; |
| 13 | ip_addr_t *remote_addr; |
| 14 | }request_typDef; |
| 15 | |
| 16 | void json_parse(request_typDef *json_request, char *json_response, uint16_t json_response_len, char *response_cookie); |
| 17 | |
| 18 | #endif /* __API_H */ |
Note:
See TracBrowser
for help on using the repository browser.
