19 lines
356 B
C
19 lines
356 B
C
|
#ifndef GUARD_6F6DB4EF6B1F202B980E8656237B5E18
|
||
|
#define GUARD_6F6DB4EF6B1F202B980E8656237B5E18
|
||
|
|
||
|
#include "types.h"
|
||
|
|
||
|
struct sw_http_response {
|
||
|
char *body;
|
||
|
u32 body_length;
|
||
|
i16 status;
|
||
|
};
|
||
|
|
||
|
struct sw_http_request_handle {
|
||
|
u32 _handle;
|
||
|
};
|
||
|
|
||
|
struct sw_http_request_handle sw_http_request_async(char *url);
|
||
|
|
||
|
#endif /* GUARD_6F6DB4EF6B1F202B980E8656237B5E18 */
|