interop/src/leveldb_t
library
Classes
-
leveldb_t
-
typedef struct leveldb_t leveldb_t;
Typedefs
-
Leveldb_approximate_sizes
= void Function(Pointer<leveldb_t> db, int num_ranges, Pointer<Pointer<Uint8>> range_start_key, Pointer<IntPtr> range_start_key_len, Pointer<Pointer<Uint8>> range_limit_key, Pointer<IntPtr> range_limit_key_len, Pointer<Uint64> sizes)
-
LEVELDB_EXPORT void leveldb_approximate_sizes(
leveldb_t* db, int num_ranges, const char* const* range_start_key,
const size_t* range_start_key_len, const char* const* range_limit_key,
const size_t* range_limit_key_len, uint64_t* sizes);
-
leveldb_approximate_sizes
= Void Function(Pointer<leveldb_t> db, IntPtr num_ranges, Pointer<Pointer<Uint8>> range_start_key, Pointer<IntPtr> range_start_key_len, Pointer<Pointer<Uint8>> range_limit_key, Pointer<IntPtr> range_limit_key_len, Pointer<Uint64> sizes)
-
-
Leveldb_close
= void Function(Pointer<leveldb_t> db)
-
LEVELDB_EXPORT void leveldb_close(leveldb_t* db);
-
leveldb_close
= Void Function(Pointer<leveldb_t> db)
-
-
Leveldb_compact_range
= void Function(Pointer<leveldb_t> db, Pointer<Uint8> start_key, int start_key_len, Pointer<Uint8> limit_key, int limit_key_len)
-
LEVELDB_EXPORT void leveldb_compact_range(leveldb_t* db, const char* start_key,
size_t start_key_len,
const char* limit_key,
size_t limit_key_len);
-
leveldb_compact_range
= Void Function(Pointer<leveldb_t> db, Pointer<Uint8> start_key, IntPtr start_key_len, Pointer<Uint8> limit_key, IntPtr limit_key_len)
-
-
Leveldb_delete
= void Function(Pointer<leveldb_t> db, Pointer<leveldb_writeoptions_t> options, Pointer<Uint8> key, int keylen, Pointer<Pointer<Utf8>> errptr)
-
LEVELDB_EXPORT void leveldb_delete(leveldb_t* db,
const leveldb_writeoptions_t* options,
const char* key, size_t keylen,
char** errptr);
-
leveldb_delete
= Void Function(Pointer<leveldb_t> db, Pointer<leveldb_writeoptions_t> options, Pointer<Uint8> key, IntPtr keylen, Pointer<Pointer<Utf8>> errptr)
-
-
Leveldb_destroy_db
= void Function(Pointer<leveldb_options_t> options, Pointer<Utf8> name, Pointer<Pointer<Utf8>> errptr)
-
LEVELDB_EXPORT void leveldb_destroy_db(const leveldb_options_t* options,
const char* name, char** errptr);
-
leveldb_destroy_db
= Void Function(Pointer<leveldb_options_t> options, Pointer<Utf8> name, Pointer<Pointer<Utf8>> errptr)
-
-
Leveldb_free
= void Function(Pointer<Void> options)
-
/* Calls free(ptr).
REQUIRES: ptr was malloc()-ed and returned by one of the routines
in this file. Note that in certain cases (typically on Windows), you
may need to call this routine instead of free(ptr) to dispose of
malloc()-ed memory returned by this library. */
LEVELDB_EXPORT void leveldb_free(void* ptr);
-
leveldb_free
= Void Function(Pointer<Void> options)
-
-
Leveldb_get
= Pointer<Uint8> Function(Pointer<leveldb_t> db, Pointer<leveldb_readoptions_t> options, Pointer<Uint8> key, int keylen, Pointer<IntPtr> vallen, Pointer<Pointer<Utf8>> errptr)
-
Returns NULL if not found. A malloc()ed array otherwise.
Stores the length of the array in *vallen.
-
leveldb_get
= Pointer<Uint8> Function(Pointer<leveldb_t> db, Pointer<leveldb_readoptions_t> options, Pointer<Uint8> key, IntPtr keylen, Pointer<IntPtr> vallen, Pointer<Pointer<Utf8>> errptr)
-
-
Leveldb_major_version
= int Function()
-
/* Return the major version number for this release. */
LEVELDB_EXPORT int leveldb_major_version(void);
-
leveldb_major_version
= IntPtr Function()
-
-
Leveldb_minor_version
= int Function()
-
/* Return the minor version number for this release. */
LEVELDB_EXPORT int leveldb_minor_version(void);
-
leveldb_minor_version
= IntPtr Function()
-
-
Leveldb_open
= Pointer<leveldb_t> Function(Pointer<leveldb_options_t> options, Pointer<Utf8> name, Pointer<Pointer<Utf8>> errptr)
-
LEVELDB_EXPORT leveldb_t* leveldb_open(const leveldb_options_t* options,
const char* name, char** errptr);
-
leveldb_open
= Pointer<leveldb_t> Function(Pointer<leveldb_options_t> options, Pointer<Utf8> name, Pointer<Pointer<Utf8>> errptr)
-
-
Leveldb_property_value
= Pointer<Utf8> Function(Pointer<leveldb_t> db, Pointer<Utf8> propname)
-
Returns Null-terminated string
-
leveldb_property_value
= Pointer<Utf8> Function(Pointer<leveldb_t> db, Pointer<Utf8> propname)
-
-
Leveldb_put
= void Function(Pointer<leveldb_t> db, Pointer<leveldb_writeoptions_t> options, Pointer<Uint8> key, int keylen, Pointer<Uint8> val, int vallen, Pointer<Pointer<Utf8>> errptr)
-
LEVELDB_EXPORT void leveldb_put(leveldb_t* db,
const leveldb_writeoptions_t* options,
const char* key, size_t keylen, const char* val,
size_t vallen, char** errptr);
-
leveldb_put
= Void Function(Pointer<leveldb_t> db, Pointer<leveldb_writeoptions_t> options, Pointer<Uint8> key, IntPtr keylen, Pointer<Uint8> val, IntPtr vallen, Pointer<Pointer<Utf8>> errptr)
-
-
Leveldb_repair_db
= void Function(Pointer<leveldb_options_t> options, Pointer<Utf8> name, Pointer<Pointer<Utf8>> errptr)
-
LEVELDB_EXPORT void leveldb_repair_db(const leveldb_options_t* options,
const char* name, char** errptr);
-
leveldb_repair_db
= Void Function(Pointer<leveldb_options_t> options, Pointer<Utf8> name, Pointer<Pointer<Utf8>> errptr)
-
-
Leveldb_write
= void Function(Pointer<leveldb_t> db, Pointer<leveldb_writeoptions_t> options, Pointer<leveldb_writebatch_t> batch, Pointer<Pointer<Utf8>> errptr)
-
LEVELDB_EXPORT void leveldb_write(leveldb_t* db,
const leveldb_writeoptions_t* options,
leveldb_writebatch_t* batch, char** errptr);
-
leveldb_write
= Void Function(Pointer<leveldb_t> db, Pointer<leveldb_writeoptions_t> options, Pointer<leveldb_writebatch_t> batch, Pointer<Pointer<Utf8>> errptr)
-