#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); void icclient_login(const char *username, const char *password , const char *successpage, const char *nextpage , const char *failpage); void icclient_logout(); void icclient_cleanup(); #ifdef __cplusplus } #endif #endif // ICCLIENT_CLIENT_H