summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-14 11:07:12 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-14 11:07:12 +0800
commit4cc4f351bfd20e15150fbe4e5506b6db31413942 (patch)
tree0ac85a5546d26f43ec2170a36a9ca7ec108a164a
parent0a2cf4390bef3b449b7cfa02c2c71e120c072be1 (diff)
Back to page
-rw-r--r--interchange.c3
-rw-r--r--interchange.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/interchange.c b/interchange.c
index e96c99b..11ab9fc 100644
--- a/interchange.c
+++ b/interchange.c
@@ -43,8 +43,7 @@ void interchange_init(const char *url, const char *dir, const char *cookie,
#endif
}
-void interchange_flypage(const char *path,
- void (*parser)(interchange_response *))
+void interchange_page(const char *path, void (*parser)(interchange_response *))
{
request(parser, NULL, NULL, "%s", path);
}
diff --git a/interchange.h b/interchange.h
index 134865d..ff2c9c4 100644
--- a/interchange.h
+++ b/interchange.h
@@ -52,8 +52,7 @@ void interchange_init(const char *sampleurl, const char *image_dir,
* \param path The path.
* \param parser Function for parsing the formatted response.
*/
-void interchange_flypage(const char *path,
- void (*parser)(interchange_response *));
+void interchange_page(const char *path, void (*parser)(interchange_response *));
/*!
* \brief For fetching data about products that belong a specific group.