diff options
| author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-12-29 08:36:39 +0800 |
|---|---|---|
| committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-12-29 08:36:39 +0800 |
| commit | 4c00d748c3c86cbb5039660c2a5bebac0c826386 (patch) | |
| tree | b83f96a57506561131af1209c4dfedb421a5c3cb /login.c | |
| parent | 30d862751ce42ecf667d08c360009aca3aacc1f8 (diff) | |
Add parameters for handler and user pointers
to login related functions.
These are the cURL write function and data respectively.
Diffstat (limited to 'login.c')
| -rw-r--r-- | login.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,6 @@ #include "login.h" -extern inline void login(const char *, const char *, const char *, const char * +extern inline void login(size_t (*handler)(void *contents, size_t size + , size_t nmemb, void *userdata), struct icclient_user *user + , const char *, const char *, const char *, const char * , const char *, const char *, const char *); |