From 58bbe66096bc40cede5ea78442f9f0702c73c6ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Fri, 20 Sep 2019 08:17:57 +0800 Subject: Make the request function a variadic one --- request.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'request.c') 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, ...); -- cgit v1.2.3