fdb.fdb_c

Undocumented in source.

Members

Aliases

ClusterHandle
alias ClusterHandle = FDBCluster*
Undocumented in source.
DatabaseHandle
alias DatabaseHandle = FDBDatabase*
Undocumented in source.
FDBCallback
alias FDBCallback = void function(FDBFuture* future, void* callback_parameter)

/////////////////// functions implemented in libfdb_c ///////////////////////

FDBKeyValue
alias FDBKeyValue = keyvalue
Undocumented in source.
FutureHandle
alias FutureHandle = FDBFuture*
Undocumented in source.
Key
alias Key = ubyte[]
Undocumented in source.
TransactionHandle
alias TransactionHandle = FDBTransaction*
Undocumented in source.
Value
alias Value = ubyte[]
Undocumented in source.
fdb_bool_t
alias fdb_bool_t = int
Undocumented in source.
fdb_error_t
alias fdb_error_t = int
Undocumented in source.

Functions

fdb_cluster_create_database
FDBFuture* fdb_cluster_create_database(FDBCluster* c, char* db_name, int db_name_length)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_cluster_destroy
void fdb_cluster_destroy(FDBCluster* c)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_cluster_set_option
fdb_error_t fdb_cluster_set_option(FDBCluster* c, ClusterOption option, char* value, int value_length)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_create_cluster
FDBFuture* fdb_create_cluster(char* cluster_file_path)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_database_create_transaction
fdb_error_t fdb_database_create_transaction(FDBDatabase* d, FDBTransaction** out_transaction)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_database_destroy
void fdb_database_destroy(FDBDatabase* d)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_database_set_option
fdb_error_t fdb_database_set_option(FDBDatabase* d, DatabaseOption option, char* value, int value_length)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_future_block_until_ready
fdb_error_t fdb_future_block_until_ready(FDBFuture* f)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_future_cancel
void fdb_future_cancel(FDBFuture* f)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_future_destroy
void fdb_future_destroy(FDBFuture* f)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_future_get_cluster
fdb_error_t fdb_future_get_cluster(FDBFuture* f, FDBCluster** out_cluster)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_future_get_database
fdb_error_t fdb_future_get_database(FDBFuture* f, FDBDatabase** out_database)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_future_get_error
fdb_error_t fdb_future_get_error(FDBFuture* f)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_future_get_key
fdb_error_t fdb_future_get_key(FDBFuture* f, ubyte** out_key, int* out_key_length)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_future_get_keyvalue_array
fdb_error_t fdb_future_get_keyvalue_array(FDBFuture* f, keyvalue** out_kv, int* out_count, fdb_bool_t* out_more)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_future_get_string_array
fdb_error_t fdb_future_get_string_array(FDBFuture* f, char*** out_strings, int* out_count)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_future_get_value
fdb_error_t fdb_future_get_value(FDBFuture* f, fdb_bool_t* out_present, ubyte** out_value, int* out_value_length)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_future_get_version
fdb_error_t fdb_future_get_version(FDBFuture* f, long* out_version)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_future_is_ready
fdb_bool_t fdb_future_is_ready(FDBFuture* f)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_future_release_memory
void fdb_future_release_memory(FDBFuture* f)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_future_set_callback
fdb_error_t fdb_future_set_callback(FDBFuture* f, FDBCallback callback, void* callback_parameter)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_get_error
char* fdb_get_error(fdb_error_t code)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_get_max_api_version
int fdb_get_max_api_version()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_network_set_option
fdb_error_t fdb_network_set_option(NetworkOption option, char* value, int value_length)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_run_network
fdb_error_t fdb_run_network()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_select_api_version
fdb_error_t fdb_select_api_version(int runtime_version)
Undocumented in source. Be warned that the author may not have intended to support it.
fdb_select_api_version_impl
fdb_error_t fdb_select_api_version_impl(int runtime_version, int header_version)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_setup_network
fdb_error_t fdb_setup_network()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_stop_network
fdb_error_t fdb_stop_network()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_transaction_add_conflict_range
fdb_error_t fdb_transaction_add_conflict_range(FDBTransaction* tr, ubyte* begin_key_name, int begin_key_name_length, ubyte* end_key_name, int end_key_name_length, ConflictRangeType type)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_transaction_atomic_op
void fdb_transaction_atomic_op(FDBTransaction* tr, ubyte* key_name, int key_name_length, ubyte* param, int param_length, MutationType operation_type)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_transaction_cancel
void fdb_transaction_cancel(FDBTransaction* tr)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_transaction_clear
void fdb_transaction_clear(FDBTransaction* tr, ubyte* key_name, int key_name_length)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_transaction_clear_range
void fdb_transaction_clear_range(FDBTransaction* tr, ubyte* begin_key_name, int begin_key_name_length, ubyte* end_key_name, int end_key_name_length)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_transaction_commit
FDBFuture* fdb_transaction_commit(FDBTransaction* tr)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_transaction_destroy
void fdb_transaction_destroy(FDBTransaction* tr)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_transaction_get
FDBFuture* fdb_transaction_get(FDBTransaction* tr, ubyte* key_name, int key_name_length, fdb_bool_t snapshot)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_transaction_get_addresses_for_key
FDBFuture* fdb_transaction_get_addresses_for_key(FDBTransaction* tr, ubyte* key_name, int key_name_length)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_transaction_get_committed_version
fdb_error_t fdb_transaction_get_committed_version(FDBTransaction* tr, long* out_version)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_transaction_get_key
FDBFuture* fdb_transaction_get_key(FDBTransaction* tr, ubyte* key_name, int key_name_length, fdb_bool_t or_equal, int offset, fdb_bool_t snapshot)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_transaction_get_range
FDBFuture* fdb_transaction_get_range(FDBTransaction* tr, ubyte* begin_key_name, int begin_key_name_length, fdb_bool_t begin_or_equal, int begin_offset, ubyte* end_key_name, int end_key_name_length, fdb_bool_t end_or_equal, int end_offset, int limit, int target_bytes, StreamingMode mode, int iteration, fdb_bool_t snapshot, fdb_bool_t reverse)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_transaction_get_read_version
FDBFuture* fdb_transaction_get_read_version(FDBTransaction* tr)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_transaction_on_error
FDBFuture* fdb_transaction_on_error(FDBTransaction* tr, fdb_error_t error)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_transaction_reset
void fdb_transaction_reset(FDBTransaction* tr)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_transaction_set
void fdb_transaction_set(FDBTransaction* tr, ubyte* key_name, int key_name_length, ubyte* value, int value_length)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_transaction_set_option
fdb_error_t fdb_transaction_set_option(FDBTransaction* tr, TransactionOption option, char* value, int value_length)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_transaction_set_read_version
void fdb_transaction_set_read_version(FDBTransaction* tr, long versionNumber)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
fdb_transaction_watch
FDBFuture* fdb_transaction_watch(FDBTransaction* tr, ubyte* key_name, int key_name_length)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

FDBCluster
struct FDBCluster
Undocumented in source.
FDBDatabase
struct FDBDatabase
Undocumented in source.
FDBFuture
struct FDBFuture
Undocumented in source.
FDBTransaction
struct FDBTransaction
Undocumented in source.
keyvalue
struct keyvalue
Undocumented in source.

Variables

FDB_API_VERSION
uint FDB_API_VERSION;
Undocumented in source.

Meta