diff options
Diffstat (limited to 'core/module-store.h')
| -rw-r--r-- | core/module-store.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/core/module-store.h b/core/module-store.h new file mode 100644 index 0000000..d14ab3d --- /dev/null +++ b/core/module-store.h @@ -0,0 +1,11 @@ +#ifndef PURE_MODULE_STORE_H +#define PURE_MODULE_STORE_H +#include "module.h" +/* Keyed module collections and the app's states on the selected tree store: + * one event opens the message key as a held draft and commits it together + * with the states the event changed. The path outlives the app. */ +PureData pure_tree_data(const char *path); +/* The same through a store handle (state.h): opening a document or state + * checks only whether the store changed. The handle outlives the app. */ +PureData pure_store_data(PureStore *); +#endif |
