@ -289,6 +289,10 @@ extern ROCKSDB_LIBRARY_API void rocksdb_release_snapshot(
Else returns a pointer to a malloc ( ) - ed null - terminated value . */
extern ROCKSDB_LIBRARY_API char * rocksdb_property_value ( rocksdb_t * db ,
const char * propname ) ;
/* returns 0 on success, -1 otherwise */
int rocksdb_property_int (
rocksdb_t * db ,
const char * propname , uint64_t * out_val ) ;
extern ROCKSDB_LIBRARY_API char * rocksdb_property_value_cf (
rocksdb_t * db , rocksdb_column_family_handle_t * column_family ,
@ -525,6 +529,8 @@ extern ROCKSDB_LIBRARY_API void rocksdb_options_set_cuckoo_table_factory(
rocksdb_options_t * opt , rocksdb_cuckoo_table_options_t * table_options ) ;
/* Options */
extern ROCKSDB_LIBRARY_API void rocksdb_set_options (
rocksdb_t * db , int count , const char * const keys [ ] , const char * const values [ ] , char * * errptr ) ;
extern ROCKSDB_LIBRARY_API rocksdb_options_t * rocksdb_options_create ( ) ;
extern ROCKSDB_LIBRARY_API void rocksdb_options_destroy ( rocksdb_options_t * ) ;
@ -634,6 +640,10 @@ extern ROCKSDB_LIBRARY_API void rocksdb_options_set_soft_rate_limit(
rocksdb_options_t * , double ) ;
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_hard_rate_limit (
rocksdb_options_t * , double ) ;
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_soft_pending_compaction_bytes_limit (
rocksdb_options_t * opt , size_t v ) ;
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_hard_pending_compaction_bytes_limit (
rocksdb_options_t * opt , size_t v ) ;
extern ROCKSDB_LIBRARY_API void
rocksdb_options_set_rate_limit_delay_max_milliseconds ( rocksdb_options_t * ,
unsigned int ) ;
@ -699,6 +709,8 @@ extern ROCKSDB_LIBRARY_API void rocksdb_options_set_disable_data_sync(
rocksdb_options_t * , int ) ;
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_disable_auto_compactions (
rocksdb_options_t * , int ) ;
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_optimize_filters_for_hits (
rocksdb_options_t * , int ) ;
extern ROCKSDB_LIBRARY_API void
rocksdb_options_set_delete_obsolete_files_period_micros ( rocksdb_options_t * ,
uint64_t ) ;