mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Summary: Change namespace from leveldb to rocksdb. This allows a single application to link in open-source leveldb code as well as rocksdb code into the same process. Test Plan: compile rocksdb Reviewers: emayanke Reviewed By: emayanke CC: leveldb Differential Revision: https://reviews.facebook.net/D13287
21 lines
420 B
C++
21 lines
420 B
C++
// Copyright 2008-present Facebook. All Rights Reserved.
|
|
#ifndef STORAGE_ROCKSDB_INCLUDE_LDB_TOOL_H
|
|
#define STORAGE_ROCKSDB_INCLUDE_LDB_TOOL_H
|
|
#include "rocksdb/options.h"
|
|
|
|
namespace rocksdb {
|
|
|
|
class LDBTool {
|
|
public:
|
|
void Run(int argc, char** argv, Options = Options());
|
|
};
|
|
|
|
namespace leveldb = rocksdb;
|
|
|
|
|
|
} // namespace rocksdb
|
|
|
|
#include "rocksdb/rocksdb_to_leveldb.h"
|
|
|
|
#endif // STORAGE_ROCKSDB_INCLUDE_LDB_TOOL_H
|