summaryrefslogtreecommitdiff
path: root/icclient
diff options
context:
space:
mode:
Diffstat (limited to 'icclient')
-rw-r--r--icclient/client.h5
-rw-r--r--icclient/product.h3
2 files changed, 5 insertions, 3 deletions
diff --git a/icclient/client.h b/icclient/client.h
index 6116c1f..503eac3 100644
--- a/icclient/client.h
+++ b/icclient/client.h
@@ -1,11 +1,16 @@
#ifndef ICCLIENT_CLIENT_H
#define ICCLIENT_CLIENT_H
+struct icclient_catalog;
+
#ifdef __cplusplus
extern "C" {
#endif
bool icclient_init(const char *url, const char *certificate);
+ void icclient_allproducts(struct icclient_catalog **catalogptr
+ , size_t (*callback)(void *contents, size_t size
+ , size_t nmemb, void *userdata));
void icclient_newaccount(const char *username, const char *password
, const char *verify, const char *successpage
, const char *nextpage, const char *failpage);
diff --git a/icclient/product.h b/icclient/product.h
index 12da846..6b2b890 100644
--- a/icclient/product.h
+++ b/icclient/product.h
@@ -15,9 +15,6 @@ struct icclient_catalog {
extern "C" {
#endif
- void icclient_product_all(struct icclient_catalog **catalogptr
- , size_t (*callback)(void *contents, size_t size
- , size_t nmemb, void *userdata));
void icclient_product_freecatalog(struct icclient_catalog *catalog);
#ifdef __cplusplus