summaryrefslogtreecommitdiff
path: root/icclient
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-07-11 10:02:39 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-07-11 10:02:39 +0800
commit6ff383c3d12dc215123fb975b453ca74b1bef162 (patch)
treec01b9a64ff1354afa67e8e77870e6edfbef68697 /icclient
parent3074a867e052af594f1c7252c9cb967ff0747f42 (diff)
Rename icclient_user to icclient_member
Diffstat (limited to 'icclient')
-rw-r--r--icclient/admin.h10
-rw-r--r--icclient/client.h6
-rw-r--r--icclient/member.h14
3 files changed, 14 insertions, 16 deletions
diff --git a/icclient/admin.h b/icclient/admin.h
index 1b6bd68..faff559 100644
--- a/icclient/admin.h
+++ b/icclient/admin.h
@@ -5,12 +5,10 @@
extern "C" {
#endif
- void icclient_admin_login(size_t (*handler)(void *contents, size_t size
- , size_t nmemb, void *userdata)
- , struct icclient_user *user
- , const char *username, const char *password
- , const char *successpage, const char *nextpage
- , const char *failpage);
+ void icclient_admin_login(size_t (*handler)(void *, size_t, size_t, void *),
+ struct icclient_member *member, const char *username,
+ const char *password, const char *successpage,
+ const char *nextpage, const char *failpage);
void icclient_admin_logout();
#ifdef __cplusplus
diff --git a/icclient/client.h b/icclient/client.h
index 7b7306d..a58bce1 100644
--- a/icclient/client.h
+++ b/icclient/client.h
@@ -3,7 +3,7 @@
struct icclient_product;
struct icclient_catalog;
-struct icclient_user;
+struct icclient_member;
struct icclient_ord_order;
#ifdef __cplusplus
@@ -55,12 +55,12 @@ extern "C" {
void icclient_order(const char *sku, const struct icclient_catalog *catalog,
struct icclient_ord_order **orderptr);
void icclient_newaccount(size_t (*handler)(void *, size_t, size_t, void *),
- struct icclient_user *user,
+ struct icclient_member *member,
const char *username, const char *password,
const char *verify, const char *successpage,
const char *nextpage, const char *failpage);
void icclient_login(size_t (*handler)(void *, size_t, size_t, void *),
- struct icclient_user *user,
+ struct icclient_member *member,
const char *username, const char *password,
const char *successpage, const char *nextpage,
const char *failpage);
diff --git a/icclient/member.h b/icclient/member.h
index 682b5d2..dd44e78 100644
--- a/icclient/member.h
+++ b/icclient/member.h
@@ -1,7 +1,7 @@
#ifndef ICCLIENT_MEMBER_H
#define ICCLIENT_MEMBER_H
-struct icclient_user {
+struct icclient_member {
char *username;
char *usernick;
char *password;
@@ -55,12 +55,12 @@ struct icclient_user {
extern "C" {
#endif
- void icclient_user_account(const char *fname, const char *lname
- , const char *address1, const char *address2
- , const char *city, const char *state, const char *zip
- , const char *email, const char *phone_day);
- void icclient_user_changepassword(const char *password_old, const char *password
- , const char *verify);
+ void icclient_member_account(const char *fname, const char *lname,
+ const char *address1, const char *address2, const char *city,
+ const char *state, const char *zip, const char *email,
+ const char *phone_day);
+ void icclient_member_changepassword(const char *password_old, const char *password,
+ const char *verify);
#ifdef __cplusplus
}