diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-31 18:30:48 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-31 18:30:48 +0800 |
commit | 3a1c71e902ce6c005b569f768a6e1e04714dbd99 (patch) | |
tree | 053afc140823617a45497a7a59359203c2afb70c /interchange/ord.h | |
parent | 62a5096724e505d893ac9b785cc13dd226aeb8d9 (diff) |
Interface for setting orderpage, it has a default
Diffstat (limited to 'interchange/ord.h')
-rw-r--r-- | interchange/ord.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/interchange/ord.h b/interchange/ord.h index dffd902..16c4e64 100644 --- a/interchange/ord.h +++ b/interchange/ord.h @@ -40,11 +40,12 @@ void interchange_ord_order(const char *sku, /*! * \brief For removing an item from a cart. * \param name The name given, in the cart, to the item. + * \param orderpage The order page, by default it's ord/basket. * \param nextpage The page to expect response from, whatever the result is. * \param parser Function for parsing the formatted response. */ -void interchange_ord_remove(const char *name, const char *nextpage, - void (*parser)(interchange_response *)); +void interchange_ord_remove(const char *name, const char *orderpage, + const char *nextpage, void (*parser)(interchange_response *)); /*! * \brief For checking out items in the cart. |