Feathercoin
0.5.0
P2P Digital Currency
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
src
leveldb
helpers
memenv
memenv.h
Go to the documentation of this file.
1
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file. See the AUTHORS file for names of contributors.
4
5
#ifndef STORAGE_LEVELDB_HELPERS_MEMENV_MEMENV_H_
6
#define STORAGE_LEVELDB_HELPERS_MEMENV_MEMENV_H_
7
8
namespace
leveldb
{
9
10
class
Env;
11
12
// Returns a new environment that stores its data in memory and delegates
13
// all non-file-storage tasks to base_env. The caller must delete the result
14
// when it is no longer needed.
15
// *base_env must remain live while the result is in use.
16
Env*
NewMemEnv
(Env* base_env);
17
18
}
// namespace leveldb
19
20
#endif // STORAGE_LEVELDB_HELPERS_MEMENV_MEMENV_H_
leveldb
Definition:
builder.cc:15
leveldb::NewMemEnv
Env * NewMemEnv(Env *base_env)
Definition:
memenv.cc:380
Generated on Thu Sep 11 2014 10:57:06 for Feathercoin by
1.8.8