summaryrefslogtreecommitdiff
path: root/icclient
diff options
context:
space:
mode:
Diffstat (limited to 'icclient')
-rw-r--r--icclient/client.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/icclient/client.h b/icclient/client.h
index f81f567..1779aa9 100644
--- a/icclient/client.h
+++ b/icclient/client.h
@@ -20,14 +20,14 @@ extern "C" {
/*!
* \brief For fetching data about products that belong a specific group.
+ * \param prodgroup The name of the product group.
* \param handler A pointer to a cURL write function callback.
* \param catalogptr A pointer to pointer to the catalog to store the data.
- * \param prodgroup The name of the product group.
*/
- void icclient_results(size_t (*handler)(void *contents, size_t size,
+ void icclient_results(const char *prodgroup,
+ size_t (*handler)(void *contents, size_t size,
size_t nmemb, void *userdata),
- struct icclient_catalog **catalogptr,
- const char *prodgroup);
+ struct icclient_catalog **catalogptr);
/*!
* \brief For fetching data about all active products.