diff options
| author | Aldrik Ramaekers <aldrik.ramaekers@protonmail.com> | 2020-02-16 12:38:10 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik.ramaekers@protonmail.com> | 2020-02-16 12:38:10 +0100 |
| commit | e706f8335561bf4fc46e2b79fbec392675bb0c88 (patch) | |
| tree | 016625fbc8c53fce2144f603bb3f5617429b7d2f /src/linux/platform.c | |
| parent | 138b63df9af0f32c0e22172dddf5234759883f67 (diff) | |
linux
Diffstat (limited to 'src/linux/platform.c')
| -rw-r--r-- | src/linux/platform.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/linux/platform.c b/src/linux/platform.c index 2019f79..d7f6f15 100644 --- a/src/linux/platform.c +++ b/src/linux/platform.c @@ -1597,3 +1597,13 @@ void platform_set_icon(platform_window *window, image *img) property, cardinal, 32, PropModeReplace, (unsigned char *)data, nelements); } + + +bool platform_send_http_request(char *url, char *params, char *response_buffer) +{ + // https://www.unix.com/programming/187337-c-http-get-request-using-sockets.html + // https://stackoverflow.com/questions/32738030/c-sending-http-get-request-in-linux + bool response = true; + + return response; +}
\ No newline at end of file |
