summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-13 08:19:24 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-13 08:19:24 +0800
commitddeb72bd001a0486d11c76bda995bebedf85f509 (patch)
tree987c60dec41220ebe2adbbf6713aab3d746423d4
parent294b1faf5509e1eda8c80bb42749336e76f96e03 (diff)
Revert "Rename page to path"
This reverts commit 294b1faf5509e1eda8c80bb42749336e76f96e03. Generic path can't be here, but page can.
-rw-r--r--client.c2
-rw-r--r--icclient.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/client.c b/client.c
index a13ead1..b46f973 100644
--- a/client.c
+++ b/client.c
@@ -57,7 +57,7 @@ void icclient_product(const char *sku, void (*handler)(icclient_response *), voi
request(handler, (void (*)(void *))callback, NULL, "%s", sku);
}
-void icclient_path(const char *path, void (*handler)(icclient_response *))
+void icclient_page(const char *path, void (*handler)(icclient_response *))
{
request(handler, NULL, NULL, "%s", path);
}
diff --git a/icclient.h b/icclient.h
index ddbca9f..b962a24 100644
--- a/icclient.h
+++ b/icclient.h
@@ -60,7 +60,7 @@ void icclient_catalog(const char *prod_group, void (*handler)(icclient_response
*/
void icclient_product(const char *sku, void (*handler)(icclient_response *), void (*callback)(struct icclient_product *));
-void icclient_path(const char *path, void (*handler)(icclient_response *));
+void icclient_page(const char *path, void (*handler)(icclient_response *));
void icclient_free_product(struct icclient_product *product);