summaryrefslogtreecommitdiff
path: root/icclient/catalog.h
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-06-20 11:41:01 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-06-20 11:41:01 +0800
commit63b109ca1c1c54319d164ddcfa5760aa66558ccd (patch)
tree6904b1c8fa0a4109b0734ebc6067f5aa9af22490 /icclient/catalog.h
parentfdb6565f877a33aa95afc24d937650095cbd6e4d (diff)
Move catalog freeing implementation to catalog's own implementation
Diffstat (limited to 'icclient/catalog.h')
-rw-r--r--icclient/catalog.h10
1 files changed, 10 insertions, 0 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