summaryrefslogtreecommitdiff
path: root/icclient
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-10 17:13:45 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-10 17:13:45 +0800
commit3f96d8c84f7362b1800fcc8fdf3d0395ec265ca5 (patch)
treeeaafdcbba77295106477c4c706f5e36118123b83 /icclient
parent06bea8ae54dd3cd714b231b3d8a8deef77136613 (diff)
Anticipate asynchronous data fetch
Diffstat (limited to 'icclient')
-rw-r--r--icclient/catalog.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/icclient/catalog.h b/icclient/catalog.h
index 677d691..9d15a1a 100644
--- a/icclient/catalog.h
+++ b/icclient/catalog.h
@@ -6,6 +6,11 @@ struct icclient_catalog {
struct icclient_product *products[];
};
+struct icclient_catalog_callback {
+ struct icclient_catalog **catalog;
+ void (*callback)(struct icclient_catalog *);
+};
+
#ifdef __cplusplus
extern "C" {
#endif