.TH "hyle-source/store.h" 3 "libhyle-source" \" -*- nroff -*- .ad l .nh .SH NAME hyle-source/store.h \- Pluggable storage driver interface for hyle-source\&. .SH SYNOPSIS .br .PP \fR#include \fP .br \fR#include \fP .br .SS "Data Structures" .in +1c .ti -1c .RI "struct \fBhyle_source_store_ops_t\fP" .br .RI "Pluggable storage driver operations for hyle source persistence\&. " .ti -1c .RI "struct \fBhyle_source_store_s\fP" .br .RI "Storage instance bundling operations and driver-specific state\&. " .in -1c .SS "Functions" .in +1c .ti -1c .RI "const \fBhyle_source_store_ops_t\fP * \fBhyle_source_store_fs_ops\fP (void)" .br .RI "Filesystem storage driver ops (var/// layout)\&. " .ti -1c .RI "hyle_source_store_t \fBhyle_source_store_fs\fP (const char *items_path)" .br .RI "Construct a filesystem store\&. " .ti -1c .RI "const \fBhyle_source_store_ops_t\fP * \fBhyle_source_store_mem_ops\fP (void)" .br .RI "In-memory storage driver ops (tests and ephemeral datasets)\&. " .ti -1c .RI "hyle_source_store_t \fBhyle_source_store_mem\fP (void)" .br .RI "Construct an in-memory store\&. " .ti -1c .RI "const \fBhyle_source_store_ops_t\fP * \fBhyle_source_store_tok_ops\fP (void)" .br .RI "Tokenized binary storage driver ops (record\&.tok / \&.tok layout)\&. " .ti -1c .RI "hyle_source_store_t \fBhyle_source_store_tok\fP (const char *items_path)" .br .RI "Construct a tokenized binary store\&. " .in -1c .SH "Detailed Description" .PP Pluggable storage driver interface for hyle-source\&. Decouples persistence (filesystem, in-memory, or a database) from the hyle dataset query and indexing engine\&. .SH "Function Documentation" .PP .SS "hyle_source_store_t hyle_source_store_fs (const char * items_path)" .PP Construct a filesystem store\&. .PP \fBParameters\fP .RS 4 \fIitems_path\fP Base items directory\&. .RE .PP \fBReturns\fP .RS 4 A filesystem-backed store instance\&. .RE .PP .SS "const \fBhyle_source_store_ops_t\fP * hyle_source_store_fs_ops (void )" .PP Filesystem storage driver ops (var/// layout)\&. .PP \fBReturns\fP .RS 4 The filesystem driver ops table\&. .RE .PP .SS "hyle_source_store_t hyle_source_store_mem (void )" .PP Construct an in-memory store\&. .PP \fBReturns\fP .RS 4 An in-memory store instance\&. .RE .PP .SS "const \fBhyle_source_store_ops_t\fP * hyle_source_store_mem_ops (void )" .PP In-memory storage driver ops (tests and ephemeral datasets)\&. .PP \fBReturns\fP .RS 4 The in-memory driver ops table\&. .RE .PP .SS "hyle_source_store_t hyle_source_store_tok (const char * items_path)" .PP Construct a tokenized binary store\&. .PP \fBParameters\fP .RS 4 \fIitems_path\fP Base items directory\&. .RE .PP \fBReturns\fP .RS 4 A tokenized store instance\&. .RE .PP .SS "const \fBhyle_source_store_ops_t\fP * hyle_source_store_tok_ops (void )" .PP Tokenized binary storage driver ops (record\&.tok / \&.tok layout)\&. .PP \fBReturns\fP .RS 4 The tokenized driver ops table\&. .RE .PP .SH "Author" .PP Generated automatically by Doxygen for libhyle-source from the source code\&.