summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-27 11:40:58 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-27 11:40:58 +0800
commit8d7952b68665b0668428d65c277eb699d7523833 (patch)
tree9d5f1b0c83cb96821b5b911414dcdac1f20acef9
parent0bfbe518bf7baa28f0720b6c753b550855b495f0 (diff)
User prototype in member code
-rw-r--r--icclient/member.h69
1 files changed, 69 insertions, 0 deletions
diff --git a/icclient/member.h b/icclient/member.h
new file mode 100644
index 0000000..7f643ab
--- /dev/null
+++ b/icclient/member.h
@@ -0,0 +1,69 @@
+#ifndef ICCLIENT_MEMBER_H
+#define ICCLIENT_MEMBER_H
+
+struct icclient_user {
+ char *username;
+ char *usernick;
+ char *password;
+ char *expiration;
+ char *acl;
+ char *mod_time;
+ char *s_nickname;
+ char *company;
+ char *fname;
+ char *lname;
+ char *address1;
+ char *address2;
+ char *address3;
+ char *city;
+ char *state;
+ char *zip;
+ char *country;
+ char *phone_day;
+ char *mv_shipmode;
+ char *b_nickname;
+ char *b_fname;
+ char *b_lname;
+ char *b_company;
+ char *b_address1;
+ char *b_address2;
+ char *b_address3;
+ char *b_city;
+ char *b_state;
+ char *b_zip;
+ char *b_country;
+ char *b_phone;
+ char *p_nickname;
+ char *email;
+ char *fax;
+ char *phone_night;
+ char *address_book;
+ char *accounts;
+ char *preferences;
+ char *carts;
+ char *owner;
+ char *file_acl;
+ char *db_acl;
+ char *mail_list;
+ char *credit_limit;
+ bool inactive;
+ bool dealer;
+ char *price_level;
+};
+
+#ifdef __cplusplus
+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);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // ICCLIENT_MEMBER_H