summaryrefslogtreecommitdiff
path: root/icclient/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'icclient/client.h')
-rw-r--r--icclient/client.h5
1 files changed, 5 insertions, 0 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);