|
Entropic 2.3.8
Local-first agentic inference engine
|
C API facade for storage open/close. More...
#include "engine_handle.h"#include <entropic/entropic.h>#include <entropic/types/logging.h>#include <stdexcept>
Go to the source code of this file.
Functions | |
| ENTROPIC_EXPORT entropic_error_t | entropic_storage_open (entropic_handle_t handle, const char *db_path) |
| Open or create a SQLite storage backend. | |
| ENTROPIC_EXPORT entropic_error_t | entropic_storage_close (entropic_handle_t handle) |
| Close the storage backend. | |
Variables | |
| static auto | logger = entropic::log::get("facade.storage") |
C API facade for storage open/close.
Exposes storage lifecycle through the engine handle. The underlying implementation is in librentropic-storage.so via i_storage_backend.h.
Definition in file entropic_storage.cpp.
| ENTROPIC_EXPORT entropic_error_t entropic_storage_close | ( | entropic_handle_t | handle | ) |
Close the storage backend.
Close the storage backend and flush pending writes.
| handle | Engine handle returned by entropic_create. |
Definition at line 63 of file entropic_storage.cpp.
| ENTROPIC_EXPORT entropic_error_t entropic_storage_open | ( | entropic_handle_t | handle, |
| const char * | db_path | ||
| ) |
Open or create a SQLite storage backend.
| handle | Engine handle returned by entropic_create. |
| db_path | Filesystem path to the SQLite database file. |
Definition at line 30 of file entropic_storage.cpp.
|
static |
Definition at line 18 of file entropic_storage.cpp.