You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
739 B
C++
32 lines
739 B
C++
//
|
|
// Created by Ziyang Hu on 2022/7/3.
|
|
//
|
|
|
|
#ifndef COZOROCKS_ROCKS_BRIDGE_H
|
|
#define COZOROCKS_ROCKS_BRIDGE_H
|
|
|
|
#include "rust/cxx.h"
|
|
#include "rocksdb/db.h"
|
|
#include "rocksdb/slice.h"
|
|
#include "rocksdb/options.h"
|
|
#include "rocksdb/utilities/transaction.h"
|
|
#include "rocksdb/utilities/transaction_db.h"
|
|
#include "rocksdb/utilities/optimistic_transaction_db.h"
|
|
#include "rocksdb/table.h"
|
|
#include "rocksdb/filter_policy.h"
|
|
#include "rocksdb/slice_transform.h"
|
|
|
|
using namespace rocksdb;
|
|
using namespace std;
|
|
|
|
struct RocksDbStatus;
|
|
struct DbOpts;
|
|
|
|
typedef Status::Code StatusCode;
|
|
typedef Status::SubCode StatusSubCode;
|
|
typedef Status::Severity StatusSeverity;
|
|
typedef rust::Slice<const uint8_t> RustBytes;
|
|
|
|
|
|
#endif //COZOROCKS_ROCKS_BRIDGE_H
|