diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-10 17:13:45 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-10 17:13:45 +0800 |
commit | 3f96d8c84f7362b1800fcc8fdf3d0395ec265ca5 (patch) | |
tree | eaafdcbba77295106477c4c706f5e36118123b83 /icclient | |
parent | 06bea8ae54dd3cd714b231b3d8a8deef77136613 (diff) |
Anticipate asynchronous data fetch
Diffstat (limited to 'icclient')
-rw-r--r-- | icclient/catalog.h | 5 |
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 |