summaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/client.c b/client.c
index e829a88..18eca17 100644
--- a/client.c
+++ b/client.c
@@ -45,6 +45,12 @@ void icclient_allproducts(size_t (*handler)(void *, size_t, size_t, void *)
request(handler, (void *)catalogptr, NULL, "%s", "All-Products");
}
+void icclient_flypage(size_t (*handler)(void *, size_t, size_t, void *),
+ icclient_product **productptr, const char *sku)
+{
+ request(handler, (void *)productptr, NULL, "%s", sku);
+}
+
static int prodcmp(const void *product1, const void *product2)
{
return strcmp((*(icclient_product * const *)product1)->sku