summaryrefslogtreecommitdiff
path: root/icclient
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-01-09 22:22:17 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-01-09 22:22:17 +0800
commite838766efbb79d6d9e7ccfb6bfe374c7d3673c63 (patch)
treea6ee92a5bc5bb4328c2c770ddcabebb85f062760 /icclient
parentde4cd3867876e3b7a79a9c72a4e70914dfbfa5eb (diff)
Documentation on All-Products interface
Diffstat (limited to 'icclient')
-rw-r--r--icclient/client.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/icclient/client.h b/icclient/client.h
index 4a25d5b..cd3769e 100644
--- a/icclient/client.h
+++ b/icclient/client.h
@@ -18,6 +18,11 @@ extern "C" {
*/
bool icclient_init(const char *url, const char *certificate);
+ /*!
+ * \brief For fetching data about all active products.
+ * \param handler A pointer to a cURL write function callback.
+ * \param catalogptr A pointer to the catalog to store the data.
+ */
void icclient_allproducts(size_t (*handler)(void *contents, size_t size
, size_t nmemb, void *userdata)
, struct icclient_catalog **catalogptr);