diff options
Diffstat (limited to 'icclient')
-rw-r--r-- | icclient/member.h | 7 | ||||
-rw-r--r-- | icclient/ord.h | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/icclient/member.h b/icclient/member.h index d68f814..0f4ac22 100644 --- a/icclient/member.h +++ b/icclient/member.h @@ -1,6 +1,11 @@ #ifndef ICCLIENT_MEMBER_H #define ICCLIENT_MEMBER_H +struct icclient_member_preferences { + bool mv_same_billing; + bool email_copy; +}; + struct icclient_member { char *username; char *usernick; @@ -39,7 +44,7 @@ struct icclient_member { char *phone_night; char *address_book; char *accounts; - char *preferences; + struct icclient_member_preferences *preferences; char *carts; char *owner; char *file_acl; diff --git a/icclient/ord.h b/icclient/ord.h index 5195e81..a1dd4ea 100644 --- a/icclient/ord.h +++ b/icclient/ord.h @@ -10,6 +10,7 @@ struct icclient_ord_order { double subtotal; double shipping; double total_cost; + char *profile; size_t nitems; struct icclient_ord_item *items[]; }; @@ -27,6 +28,8 @@ extern "C" { */ void icclient_ord_order(const char *sku, const struct icclient_catalog *catalog, struct icclient_ord_order **orderptr); + void icclient_ord_checkout(struct icclient_ord_order *order, + struct icclient_member *member); void icclient_ord_free(struct icclient_ord_order *order); #ifdef __cplusplus |