Expand description
Raw FFI bindings to the sqlite-objs C library.
This crate provides low-level unsafe bindings to the sqlite-objs VFS.
Most users should use the sqlite-objs crate instead, which provides
a safe, idiomatic Rust API.
Structs§
- azure_
ops_ t - Opaque type for Azure operations vtable (defined in azure_client.h)
- sqlite_
objs_ config_ t - Configuration for the sqlite-objs VFS.
Constants§
- SQLITE_
CANTOPEN - SQLITE_
ERROR - SQLITE_
NOMEM - SQLITE_
OBJS_ FCNTL_ DOWNLOAD_ COUNT - FCNTL opcode: query the number of full blob downloads (int* arg). ETag cache hits do not increment the counter.
- SQLITE_
OBJS_ FCNTL_ STATS - FCNTL opcode: retrieve all VFS activity metrics as a
key=value\nstring. The returnedchar*is allocated withsqlite3_malloc; the caller must free it withsqlite3_free. - SQLITE_
OBJS_ FCNTL_ STATS_ RESET - FCNTL opcode: reset all VFS activity metrics to zero. Pass NULL as arg.
- SQLITE_
OK
Functions§
- sqlite_
objs_ ⚠vfs_ register - Register the “sqlite-objs” VFS.
- sqlite_
objs_ ⚠vfs_ register_ uri - Register the “sqlite-objs” VFS with no global Azure client.
- sqlite_
objs_ ⚠vfs_ register_ with_ config - Register the “sqlite-objs” VFS with an explicit configuration.
- sqlite_
objs_ ⚠vfs_ register_ with_ ops - Register the “sqlite-objs” VFS with an explicit ops vtable and context.