#include "helpers/memenv/memenv.h"
#include <cstring>
#include <limits>
#include <map>
#include <string>
#include <vector>
#include "leveldb/env.h"
#include "leveldb/status.h"
#include "port/port.h"
#include "port/thread_annotations.h"
#include "util/mutexlock.h"
namespace leveldb {
namespace {
class FileState { … };
class SequentialFileImpl : public SequentialFile { … };
class RandomAccessFileImpl : public RandomAccessFile { … };
class WritableFileImpl : public WritableFile { … };
class NoOpLogger : public Logger { … };
class InMemoryEnv : public EnvWrapper { … };
}
Env* NewMemEnv(Env* base_env) { … }
}