#pragma once #include "../rocksdb/include/rocksdb/c.h" #ifdef __cplusplus extern "C" { #endif extern ROCKSDB_LIBRARY_API rocksdb_pinnableslice_t* rocksdb_transactiondb_get_pinned_cf( rocksdb_transactiondb_t* db, const rocksdb_readoptions_t* options, rocksdb_column_family_handle_t* column_family, const char* key, size_t keylen, char** errptr); extern ROCKSDB_LIBRARY_API void rocksdb_transactiondb_flush( rocksdb_transactiondb_t* db, const rocksdb_flushoptions_t* options, char** errptr); #ifdef __cplusplus } #endif