Skip to main content

Crate sqlite_objs_sys

Crate sqlite_objs_sys 

Source
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\n string. The returned char* is allocated with sqlite3_malloc; the caller must free it with sqlite3_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.