diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-17 22:12:36 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-17 22:12:36 +0800 |
commit | 4aef78b56e9ee5f51ce80171288242c8881842f0 (patch) | |
tree | 9ab4c915bc5bdadd05adfe6693f497bf23c7b299 /icclient/admin.h | |
parent | 71e1c7fc557e68743c4a8028b2d6675639be16cc (diff) |
Rename fetch to response
Diffstat (limited to 'icclient/admin.h')
-rw-r--r-- | icclient/admin.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/icclient/admin.h b/icclient/admin.h index e1acee9..8f3c070 100644 --- a/icclient/admin.h +++ b/icclient/admin.h @@ -19,13 +19,13 @@ struct icclient_admin { extern "C" { #endif - void icclient_admin_login(const char *username, const char *password, void (*handler)(icclient_fetch_t *), + void icclient_admin_login(const char *username, const char *password, void (*handler)(icclient_response *), void (*callback)(struct icclient_admin *)); void icclient_admin_new_admin(const char *username, const char *password, const char *name, bool super, - enum icclient_admin_group group, void (*handler)(icclient_fetch_t *)); + enum icclient_admin_group group, void (*handler)(icclient_response *)); void icclient_admin_new_item(const char *description, const char *comment, const char *price, const char *image_path, - void (*handler)(icclient_fetch_t *)); - void icclient_admin_logout(struct icclient_admin *admin, void (*handler)(icclient_fetch_t *)); + void (*handler)(icclient_response *)); + void icclient_admin_logout(struct icclient_admin *admin, void (*handler)(icclient_response *)); #ifdef __cplusplus } |