diff options
| author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-14 10:42:33 +0800 |
|---|---|---|
| committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-14 10:42:33 +0800 |
| commit | 03f47c60e7963f24b8fa073abe2ad94cd688fc26 (patch) | |
| tree | 0dea477977ec8e2e3cf6c9ae18904ba0a073e54b /rtclient/common.h | |
| parent | 670dc1542e022391737c5fcf01b3cbe8f04c8327 (diff) | |
Follow a convenient way for inlining request function
https://en.wikipedia.org/wiki/Inline_function#C99
Diffstat (limited to 'rtclient/common.h')
| -rw-r--r-- | rtclient/common.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/rtclient/common.h b/rtclient/common.h deleted file mode 100644 index a63a10c..0000000 --- a/rtclient/common.h +++ /dev/null @@ -1,13 +0,0 @@ -#ifndef RTCLIENT_COMMON_H -#define RTCLIENT_COMMON_H - -#include <curl/curl.h> - -extern CURL *curl; -extern char *server_url; - -void request(const char *path, const char *suffix - , size_t (*writefunction)(void *, size_t, size_t, void *) - , void *writedata, struct curl_httppost *post); - -#endif // RTCLIENT_COMMON_H |