diff options
Diffstat (limited to 'icclient')
-rw-r--r-- | icclient/catalog.h | 10 | ||||
-rw-r--r-- | icclient/client.h | 1 |
2 files changed, 10 insertions, 1 deletions
diff --git a/icclient/catalog.h b/icclient/catalog.h index b38434b..ee65c1e 100644 --- a/icclient/catalog.h +++ b/icclient/catalog.h @@ -6,4 +6,14 @@ struct icclient_catalog { struct icclient_product *products[]; }; +#ifdef __cplusplus +extern "C" { +#endif + + void icclient_catalog_free(struct icclient_catalog *catalog); + +#ifdef __cplusplus +} +#endif + #endif // ICCLIENT_CATALOG_H diff --git a/icclient/client.h b/icclient/client.h index 4a9ac6a..02804bb 100644 --- a/icclient/client.h +++ b/icclient/client.h @@ -73,7 +73,6 @@ extern "C" { size_t (*handler)(void *contents, size_t size, size_t nmemb, void *userdata), void **dataptr); - void icclient_freecatalog(struct icclient_catalog *catalog); void icclient_cleanup(); #ifdef __cplusplus |