diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-20 08:17:57 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-20 08:17:57 +0800 |
commit | 58bbe66096bc40cede5ea78442f9f0702c73c6ed (patch) | |
tree | 6be77be7957de2ec7d965362e5d9aab1328155f0 /request.c | |
parent | 2ecd7fbbc8456bd5a3d4f6b188c626bc44c60eb2 (diff) |
Make the request function a variadic one
Diffstat (limited to 'request.c')
-rw-r--r-- | request.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,5 +1,4 @@ #include "request.h" -extern inline void request(const char *, const char * - , size_t (*)(void *, size_t, size_t, void *) - , void *, struct curl_httppost *); +extern inline void request(size_t (*writefunction)(void *, size_t, size_t, void *) + , void *writedata, struct curl_httppost *post, char *fmt, ...); |