From ddeb72bd001a0486d11c76bda995bebedf85f509 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Tue, 13 Jul 2021 08:19:24 +0800 Subject: Revert "Rename page to path" This reverts commit 294b1faf5509e1eda8c80bb42749336e76f96e03. Generic path can't be here, but page can. --- client.c | 2 +- icclient.h | 2 +- 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); -- cgit v1.2.3