~ubuntu-branches/ubuntu/raring/ceph/raring

« back to all changes in this revision

Viewing changes to src/leveldb/db/builder.h

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2012-06-08 15:54:37 UTC
  • mfrom: (1.1.8) (0.1.13 sid)
  • Revision ID: package-import@ubuntu.com-20120608155437-gy3j9k6wzv7w4gn9
Tags: 0.44.1-1ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - d/control: Switch from libcryptopp to libnss as libcryptopp
    is not seeded.
  - d/control,d/rules: Move from python-support to dh_python2.
  - d/patches/manpage_updates*.patch: cherry picked upstream manpage
    updates warning about lack of encryption, per MIR review.
  - d/rules,d/control: Drop radosgw since libfcgi is not in main and
    the code may not be suitable for LTS.
  - d/rules,d/control: Drop tcmalloc since google perftools is not
    in main yet.
  - d/rules,d/control: Drop ceph-fuse entirely per MIR review
    recommendation.
* d/patches/fix-radosgw-tests.patch: Cherry picked patch from upstream
  VCS to fixup tests to conditionally use radosgw if enabled.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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_DB_BUILDER_H_
 
6
#define STORAGE_LEVELDB_DB_BUILDER_H_
 
7
 
 
8
#include "leveldb/status.h"
 
9
 
 
10
namespace leveldb {
 
11
 
 
12
struct Options;
 
13
struct FileMetaData;
 
14
 
 
15
class Env;
 
16
class Iterator;
 
17
class TableCache;
 
18
class VersionEdit;
 
19
 
 
20
// Build a Table file from the contents of *iter.  The generated file
 
21
// will be named according to meta->number.  On success, the rest of
 
22
// *meta will be filled with metadata about the generated table.
 
23
// If no data is present in *iter, meta->file_size will be set to
 
24
// zero, and no Table file will be produced.
 
25
extern Status BuildTable(const std::string& dbname,
 
26
                         Env* env,
 
27
                         const Options& options,
 
28
                         TableCache* table_cache,
 
29
                         Iterator* iter,
 
30
                         FileMetaData* meta);
 
31
 
 
32
}  // namespace leveldb
 
33
 
 
34
#endif  // STORAGE_LEVELDB_DB_BUILDER_H_