summaryrefslogtreecommitdiff
path: root/request.c
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-20 08:17:57 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-20 08:17:57 +0800
commit58bbe66096bc40cede5ea78442f9f0702c73c6ed (patch)
tree6be77be7957de2ec7d965362e5d9aab1328155f0 /request.c
parent2ecd7fbbc8456bd5a3d4f6b188c626bc44c60eb2 (diff)
Make the request function a variadic one
Diffstat (limited to 'request.c')
-rw-r--r--request.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/request.c b/request.c
index e491349..652ec71 100644
--- a/request.c
+++ b/request.c
@@ -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, ...);