Changeset View
Changeset View
Standalone View
Standalone View
src/leveldb/include/leveldb/db.h
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. | ||||
// Use of this source code is governed by a BSD-style license that can be | // Use of this source code is governed by a BSD-style license that can be | ||||
// found in the LICENSE file. See the AUTHORS file for names of contributors. | // found in the LICENSE file. See the AUTHORS file for names of contributors. | ||||
#ifndef STORAGE_LEVELDB_INCLUDE_DB_H_ | #ifndef STORAGE_LEVELDB_INCLUDE_DB_H_ | ||||
#define STORAGE_LEVELDB_INCLUDE_DB_H_ | #define STORAGE_LEVELDB_INCLUDE_DB_H_ | ||||
#include <stdint.h> | #include <stdint.h> | ||||
#include <stdio.h> | #include <stdio.h> | ||||
#include "leveldb/iterator.h" | #include "leveldb/iterator.h" | ||||
#include "leveldb/options.h" | #include "leveldb/options.h" | ||||
namespace leveldb { | namespace leveldb { | ||||
// Update Makefile if you change these | // Update Makefile if you change these | ||||
static const int kMajorVersion = 1; | static const int kMajorVersion = 1; | ||||
static const int kMinorVersion = 19; | static const int kMinorVersion = 20; | ||||
struct Options; | struct Options; | ||||
struct ReadOptions; | struct ReadOptions; | ||||
struct WriteOptions; | struct WriteOptions; | ||||
class WriteBatch; | class WriteBatch; | ||||
// Abstract handle to particular state of a DB. | // Abstract handle to particular state of a DB. | ||||
// A Snapshot is an immutable object and can therefore be safely | // A Snapshot is an immutable object and can therefore be safely | ||||
▲ Show 20 Lines • Show All 138 Lines • Show Last 20 Lines |