summaryrefslogtreecommitdiff
path: root/icclient/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'icclient/client.h')
-rw-r--r--icclient/client.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/icclient/client.h b/icclient/client.h
index 600686a..f35b9a2 100644
--- a/icclient/client.h
+++ b/icclient/client.h
@@ -28,6 +28,16 @@ extern "C" {
, struct icclient_catalog **catalogptr);
/*!
+ * \brief For fetching data about a specific product.
+ * \param handler A pointer to a cURL write function callback.
+ * \param productptr A pointer to pointer to the product to store the data.
+ * \param sku The SKU of the item to order.
+ */
+ void icclient_flypage(size_t (*handler)(void *contents, size_t size,
+ size_t nmemb, void *userdata),
+ struct icclient_product **productptr, const char *sku);
+
+ /*!
* \brief For putting an item to a cart.
* \param orderptr A pointer to pointer to the order.
* \param sku The SKU of the item to order.