Browse Source

Move include files into a leveldb subdir.

git-svn-id: https://leveldb.googlecode.com/svn/trunk@18 62dab493-f737-651d-591e-8d6aee1b9529
main
jorlow@chromium.org 13 years ago
parent
commit
4671a695fc
56 changed files with 123 additions and 117 deletions
  1. +1
    -1
      Makefile
  2. +3
    -3
      db/builder.cc
  3. +1
    -1
      db/builder.h
  4. +4
    -4
      db/corruption_test.cc
  5. +4
    -4
      db/db_bench.cc
  6. +5
    -5
      db/db_impl.cc
  7. +2
    -2
      db/db_impl.h
  8. +2
    -2
      db/db_iter.cc
  9. +1
    -1
      db/db_iter.h
  10. +3
    -3
      db/db_test.cc
  11. +4
    -4
      db/dbformat.h
  12. +1
    -1
      db/filename.cc
  13. +2
    -2
      db/filename.h
  14. +1
    -1
      db/log_reader.cc
  15. +2
    -2
      db/log_reader.h
  16. +1
    -1
      db/log_test.cc
  17. +1
    -1
      db/log_writer.cc
  18. +2
    -2
      db/log_writer.h
  19. +3
    -3
      db/memtable.cc
  20. +1
    -1
      db/memtable.h
  21. +3
    -3
      db/repair.cc
  22. +1
    -1
      db/skiplist_test.cc
  23. +1
    -1
      db/snapshot.h
  24. +2
    -2
      db/table_cache.cc
  25. +2
    -2
      db/table_cache.h
  26. +2
    -2
      db/version_set.cc
  27. +2
    -2
      db/write_batch.cc
  28. +1
    -1
      db/write_batch_internal.h
  29. +2
    -2
      db/write_batch_test.cc
  30. +17
    -11
      leveldb.gyp
  31. +1
    -1
      table/block.cc
  32. +1
    -1
      table/block.h
  33. +2
    -2
      table/block_builder.cc
  34. +1
    -1
      table/block_builder.h
  35. +1
    -1
      table/format.cc
  36. +3
    -3
      table/format.h
  37. +1
    -1
      table/iterator.cc
  38. +2
    -2
      table/merger.cc
  39. +3
    -3
      table/table.cc
  40. +3
    -3
      table/table_builder.cc
  41. +5
    -5
      table/table_test.cc
  42. +1
    -1
      table/two_level_iterator.cc
  43. +1
    -1
      table/two_level_iterator.h
  44. +1
    -1
      util/cache.cc
  45. +1
    -1
      util/cache_test.cc
  46. +1
    -1
      util/coding.h
  47. +2
    -2
      util/comparator.cc
  48. +1
    -1
      util/env.cc
  49. +2
    -2
      util/env_chromium.cc
  50. +2
    -2
      util/env_posix.cc
  51. +1
    -1
      util/env_test.cc
  52. +2
    -2
      util/logging.cc
  53. +3
    -3
      util/options.cc
  54. +1
    -1
      util/status.cc
  55. +2
    -2
      util/testharness.h
  56. +2
    -2
      util/testutil.h

+ 1
- 1
Makefile View File

@ -8,7 +8,7 @@ CC = g++
#OPT = -O2 -DNDEBUG #OPT = -O2 -DNDEBUG
OPT = -g2 OPT = -g2
CFLAGS = -c -DLEVELDB_PLATFORM_POSIX -I. -std=c++0x $(OPT)
CFLAGS = -c -DLEVELDB_PLATFORM_POSIX -I. -I./include -std=c++0x $(OPT)
LDFLAGS=-lpthread LDFLAGS=-lpthread

+ 3
- 3
db/builder.cc View File

@ -8,9 +8,9 @@
#include "db/dbformat.h" #include "db/dbformat.h"
#include "db/table_cache.h" #include "db/table_cache.h"
#include "db/version_edit.h" #include "db/version_edit.h"
#include "include/db.h"
#include "include/env.h"
#include "include/iterator.h"
#include "leveldb/db.h"
#include "leveldb/env.h"
#include "leveldb/iterator.h"
namespace leveldb { namespace leveldb {

+ 1
- 1
db/builder.h View File

@ -5,7 +5,7 @@
#ifndef STORAGE_LEVELDB_DB_BUILDER_H_ #ifndef STORAGE_LEVELDB_DB_BUILDER_H_
#define STORAGE_LEVELDB_DB_BUILDER_H_ #define STORAGE_LEVELDB_DB_BUILDER_H_
#include "include/status.h"
#include "leveldb/status.h"
namespace leveldb { namespace leveldb {

+ 4
- 4
db/corruption_test.cc View File

@ -2,15 +2,15 @@
// 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.
#include "include/db.h"
#include "leveldb/db.h"
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include "include/env.h"
#include "include/table.h"
#include "include/write_batch.h"
#include "leveldb/env.h"
#include "leveldb/table.h"
#include "leveldb/write_batch.h"
#include "db/db_impl.h" #include "db/db_impl.h"
#include "db/filename.h" #include "db/filename.h"
#include "db/log_format.h" #include "db/log_format.h"

+ 4
- 4
db/db_bench.cc View File

@ -7,10 +7,10 @@
#include <stdlib.h> #include <stdlib.h>
#include "db/db_impl.h" #include "db/db_impl.h"
#include "db/version_set.h" #include "db/version_set.h"
#include "include/cache.h"
#include "include/db.h"
#include "include/env.h"
#include "include/write_batch.h"
#include "leveldb/cache.h"
#include "leveldb/db.h"
#include "leveldb/env.h"
#include "leveldb/write_batch.h"
#include "port/port.h" #include "port/port.h"
#include "util/crc32c.h" #include "util/crc32c.h"
#include "util/histogram.h" #include "util/histogram.h"

+ 5
- 5
db/db_impl.cc View File

@ -20,11 +20,11 @@
#include "db/table_cache.h" #include "db/table_cache.h"
#include "db/version_set.h" #include "db/version_set.h"
#include "db/write_batch_internal.h" #include "db/write_batch_internal.h"
#include "include/db.h"
#include "include/env.h"
#include "include/status.h"
#include "include/table.h"
#include "include/table_builder.h"
#include "leveldb/db.h"
#include "leveldb/env.h"
#include "leveldb/status.h"
#include "leveldb/table.h"
#include "leveldb/table_builder.h"
#include "port/port.h" #include "port/port.h"
#include "table/block.h" #include "table/block.h"
#include "table/merger.h" #include "table/merger.h"

+ 2
- 2
db/db_impl.h View File

@ -9,8 +9,8 @@
#include "db/dbformat.h" #include "db/dbformat.h"
#include "db/log_writer.h" #include "db/log_writer.h"
#include "db/snapshot.h" #include "db/snapshot.h"
#include "include/db.h"
#include "include/env.h"
#include "leveldb/db.h"
#include "leveldb/env.h"
#include "port/port.h" #include "port/port.h"
namespace leveldb { namespace leveldb {

+ 2
- 2
db/db_iter.cc View File

@ -6,8 +6,8 @@
#include "db/filename.h" #include "db/filename.h"
#include "db/dbformat.h" #include "db/dbformat.h"
#include "include/env.h"
#include "include/iterator.h"
#include "leveldb/env.h"
#include "leveldb/iterator.h"
#include "port/port.h" #include "port/port.h"
#include "util/logging.h" #include "util/logging.h"
#include "util/mutexlock.h" #include "util/mutexlock.h"

+ 1
- 1
db/db_iter.h View File

@ -6,7 +6,7 @@
#define STORAGE_LEVELDB_DB_DB_ITER_H_ #define STORAGE_LEVELDB_DB_DB_ITER_H_
#include <stdint.h> #include <stdint.h>
#include "include/db.h"
#include "leveldb/db.h"
#include "db/dbformat.h" #include "db/dbformat.h"
namespace leveldb { namespace leveldb {

+ 3
- 3
db/db_test.cc View File

@ -2,14 +2,14 @@
// 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.
#include "include/db.h"
#include "leveldb/db.h"
#include "db/db_impl.h" #include "db/db_impl.h"
#include "db/filename.h" #include "db/filename.h"
#include "db/version_set.h" #include "db/version_set.h"
#include "db/write_batch_internal.h" #include "db/write_batch_internal.h"
#include "include/env.h"
#include "include/table.h"
#include "leveldb/env.h"
#include "leveldb/table.h"
#include "util/logging.h" #include "util/logging.h"
#include "util/testharness.h" #include "util/testharness.h"
#include "util/testutil.h" #include "util/testutil.h"

+ 4
- 4
db/dbformat.h View File

@ -6,10 +6,10 @@
#define STORAGE_LEVELDB_DB_FORMAT_H_ #define STORAGE_LEVELDB_DB_FORMAT_H_
#include <stdio.h> #include <stdio.h>
#include "include/comparator.h"
#include "include/db.h"
#include "include/slice.h"
#include "include/table_builder.h"
#include "leveldb/comparator.h"
#include "leveldb/db.h"
#include "leveldb/slice.h"
#include "leveldb/table_builder.h"
#include "util/coding.h" #include "util/coding.h"
#include "util/logging.h" #include "util/logging.h"

+ 1
- 1
db/filename.cc View File

@ -6,7 +6,7 @@
#include <stdio.h> #include <stdio.h>
#include "db/filename.h" #include "db/filename.h"
#include "db/dbformat.h" #include "db/dbformat.h"
#include "include/env.h"
#include "leveldb/env.h"
#include "util/logging.h" #include "util/logging.h"
namespace leveldb { namespace leveldb {

+ 2
- 2
db/filename.h View File

@ -9,8 +9,8 @@
#include <stdint.h> #include <stdint.h>
#include <string> #include <string>
#include "include/slice.h"
#include "include/status.h"
#include "leveldb/slice.h"
#include "leveldb/status.h"
#include "port/port.h" #include "port/port.h"
namespace leveldb { namespace leveldb {

+ 1
- 1
db/log_reader.cc View File

@ -5,7 +5,7 @@
#include "db/log_reader.h" #include "db/log_reader.h"
#include <stdint.h> #include <stdint.h>
#include "include/env.h"
#include "leveldb/env.h"
#include "util/coding.h" #include "util/coding.h"
#include "util/crc32c.h" #include "util/crc32c.h"

+ 2
- 2
db/log_reader.h View File

@ -6,8 +6,8 @@
#define STORAGE_LEVELDB_DB_LOG_READER_H_ #define STORAGE_LEVELDB_DB_LOG_READER_H_
#include "db/log_format.h" #include "db/log_format.h"
#include "include/slice.h"
#include "include/status.h"
#include "leveldb/slice.h"
#include "leveldb/status.h"
namespace leveldb { namespace leveldb {

+ 1
- 1
db/log_test.cc View File

@ -4,7 +4,7 @@
#include "db/log_reader.h" #include "db/log_reader.h"
#include "db/log_writer.h" #include "db/log_writer.h"
#include "include/env.h"
#include "leveldb/env.h"
#include "util/coding.h" #include "util/coding.h"
#include "util/crc32c.h" #include "util/crc32c.h"
#include "util/random.h" #include "util/random.h"

+ 1
- 1
db/log_writer.cc View File

@ -5,7 +5,7 @@
#include "db/log_writer.h" #include "db/log_writer.h"
#include <stdint.h> #include <stdint.h>
#include "include/env.h"
#include "leveldb/env.h"
#include "util/coding.h" #include "util/coding.h"
#include "util/crc32c.h" #include "util/crc32c.h"

+ 2
- 2
db/log_writer.h View File

@ -7,8 +7,8 @@
#include <stdint.h> #include <stdint.h>
#include "db/log_format.h" #include "db/log_format.h"
#include "include/slice.h"
#include "include/status.h"
#include "leveldb/slice.h"
#include "leveldb/status.h"
namespace leveldb { namespace leveldb {

+ 3
- 3
db/memtable.cc View File

@ -4,9 +4,9 @@
#include "db/memtable.h" #include "db/memtable.h"
#include "db/dbformat.h" #include "db/dbformat.h"
#include "include/comparator.h"
#include "include/env.h"
#include "include/iterator.h"
#include "leveldb/comparator.h"
#include "leveldb/env.h"
#include "leveldb/iterator.h"
#include "util/coding.h" #include "util/coding.h"
namespace leveldb { namespace leveldb {

+ 1
- 1
db/memtable.h View File

@ -6,7 +6,7 @@
#define STORAGE_LEVELDB_DB_MEMTABLE_H_ #define STORAGE_LEVELDB_DB_MEMTABLE_H_
#include <string> #include <string>
#include "include/db.h"
#include "leveldb/db.h"
#include "db/dbformat.h" #include "db/dbformat.h"
#include "db/skiplist.h" #include "db/skiplist.h"
#include "util/arena.h" #include "util/arena.h"

+ 3
- 3
db/repair.cc View File

@ -36,9 +36,9 @@
#include "db/table_cache.h" #include "db/table_cache.h"
#include "db/version_edit.h" #include "db/version_edit.h"
#include "db/write_batch_internal.h" #include "db/write_batch_internal.h"
#include "include/comparator.h"
#include "include/db.h"
#include "include/env.h"
#include "leveldb/comparator.h"
#include "leveldb/db.h"
#include "leveldb/env.h"
namespace leveldb { namespace leveldb {

+ 1
- 1
db/skiplist_test.cc View File

@ -4,7 +4,7 @@
#include "db/skiplist.h" #include "db/skiplist.h"
#include <set> #include <set>
#include "include/env.h"
#include "leveldb/env.h"
#include "util/arena.h" #include "util/arena.h"
#include "util/hash.h" #include "util/hash.h"
#include "util/random.h" #include "util/random.h"

+ 1
- 1
db/snapshot.h View File

@ -5,7 +5,7 @@
#ifndef STORAGE_LEVELDB_DB_SNAPSHOT_H_ #ifndef STORAGE_LEVELDB_DB_SNAPSHOT_H_
#define STORAGE_LEVELDB_DB_SNAPSHOT_H_ #define STORAGE_LEVELDB_DB_SNAPSHOT_H_
#include "include/db.h"
#include "leveldb/db.h"
namespace leveldb { namespace leveldb {

+ 2
- 2
db/table_cache.cc View File

@ -5,8 +5,8 @@
#include "db/table_cache.h" #include "db/table_cache.h"
#include "db/filename.h" #include "db/filename.h"
#include "include/env.h"
#include "include/table.h"
#include "leveldb/env.h"
#include "leveldb/table.h"
#include "util/coding.h" #include "util/coding.h"
namespace leveldb { namespace leveldb {

+ 2
- 2
db/table_cache.h View File

@ -10,8 +10,8 @@
#include <string> #include <string>
#include <stdint.h> #include <stdint.h>
#include "db/dbformat.h" #include "db/dbformat.h"
#include "include/cache.h"
#include "include/table.h"
#include "leveldb/cache.h"
#include "leveldb/table.h"
#include "port/port.h" #include "port/port.h"
namespace leveldb { namespace leveldb {

+ 2
- 2
db/version_set.cc View File

@ -11,8 +11,8 @@
#include "db/log_writer.h" #include "db/log_writer.h"
#include "db/memtable.h" #include "db/memtable.h"
#include "db/table_cache.h" #include "db/table_cache.h"
#include "include/env.h"
#include "include/table_builder.h"
#include "leveldb/env.h"
#include "leveldb/table_builder.h"
#include "table/merger.h" #include "table/merger.h"
#include "table/two_level_iterator.h" #include "table/two_level_iterator.h"
#include "util/coding.h" #include "util/coding.h"

+ 2
- 2
db/write_batch.cc View File

@ -14,9 +14,9 @@
// len: varint32 // len: varint32
// data: uint8[len] // data: uint8[len]
#include "include/write_batch.h"
#include "leveldb/write_batch.h"
#include "include/db.h"
#include "leveldb/db.h"
#include "db/dbformat.h" #include "db/dbformat.h"
#include "db/memtable.h" #include "db/memtable.h"
#include "db/write_batch_internal.h" #include "db/write_batch_internal.h"

+ 1
- 1
db/write_batch_internal.h View File

@ -5,7 +5,7 @@
#ifndef STORAGE_LEVELDB_DB_WRITE_BATCH_INTERNAL_H_ #ifndef STORAGE_LEVELDB_DB_WRITE_BATCH_INTERNAL_H_
#define STORAGE_LEVELDB_DB_WRITE_BATCH_INTERNAL_H_ #define STORAGE_LEVELDB_DB_WRITE_BATCH_INTERNAL_H_
#include "include/write_batch.h"
#include "leveldb/write_batch.h"
namespace leveldb { namespace leveldb {

+ 2
- 2
db/write_batch_test.cc View File

@ -2,11 +2,11 @@
// 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.
#include "include/db.h"
#include "leveldb/db.h"
#include "db/memtable.h" #include "db/memtable.h"
#include "db/write_batch_internal.h" #include "db/write_batch_internal.h"
#include "include/env.h"
#include "leveldb/env.h"
#include "util/logging.h" #include "util/logging.h"
#include "util/testharness.h" #include "util/testharness.h"

+ 17
- 11
leveldb.gyp View File

@ -12,6 +12,7 @@
], ],
'include_dirs': [ 'include_dirs': [
'.', '.',
'include/',
], ],
'conditions': [ 'conditions': [
['OS == "win"', { ['OS == "win"', {
@ -42,6 +43,11 @@
], ],
}], }],
], ],
'direct_dependent_settings': {
'include_dirs': [
'include/',
],
},
'sources': [ 'sources': [
# Include and then exclude so that all files show up in IDEs, even if # Include and then exclude so that all files show up in IDEs, even if
# they don't build. # they don't build.
@ -73,17 +79,17 @@
'db/version_set.h', 'db/version_set.h',
'db/write_batch.cc', 'db/write_batch.cc',
'db/write_batch_internal.h', 'db/write_batch_internal.h',
'include/cache.h',
'include/comparator.h',
'include/db.h',
'include/env.h',
'include/iterator.h',
'include/options.h',
'include/slice.h',
'include/status.h',
'include/table.h',
'include/table_builder.h',
'include/write_batch.h',
'include/leveldb/cache.h',
'include/leveldb/comparator.h',
'include/leveldb/db.h',
'include/leveldb/env.h',
'include/leveldb/iterator.h',
'include/leveldb/options.h',
'include/leveldb/slice.h',
'include/leveldb/status.h',
'include/leveldb/table.h',
'include/leveldb/table_builder.h',
'include/leveldb/write_batch.h',
'port/port.h', 'port/port.h',
'port/port_chromium.cc', 'port/port_chromium.cc',
'port/port_chromium.h', 'port/port_chromium.h',

+ 1
- 1
table/block.cc View File

@ -8,7 +8,7 @@
#include <vector> #include <vector>
#include <algorithm> #include <algorithm>
#include "include/comparator.h"
#include "leveldb/comparator.h"
#include "util/coding.h" #include "util/coding.h"
#include "util/logging.h" #include "util/logging.h"

+ 1
- 1
table/block.h View File

@ -7,7 +7,7 @@
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>
#include "include/iterator.h"
#include "leveldb/iterator.h"
namespace leveldb { namespace leveldb {

+ 2
- 2
table/block_builder.cc View File

@ -30,8 +30,8 @@
#include <algorithm> #include <algorithm>
#include <assert.h> #include <assert.h>
#include "include/comparator.h"
#include "include/table_builder.h"
#include "leveldb/comparator.h"
#include "leveldb/table_builder.h"
#include "util/coding.h" #include "util/coding.h"
namespace leveldb { namespace leveldb {

+ 1
- 1
table/block_builder.h View File

@ -8,7 +8,7 @@
#include <vector> #include <vector>
#include <stdint.h> #include <stdint.h>
#include "include/slice.h"
#include "leveldb/slice.h"
namespace leveldb { namespace leveldb {

+ 1
- 1
table/format.cc View File

@ -4,7 +4,7 @@
#include "table/format.h" #include "table/format.h"
#include "include/env.h"
#include "leveldb/env.h"
#include "port/port.h" #include "port/port.h"
#include "table/block.h" #include "table/block.h"
#include "util/coding.h" #include "util/coding.h"

+ 3
- 3
table/format.h View File

@ -7,9 +7,9 @@
#include <string> #include <string>
#include <stdint.h> #include <stdint.h>
#include "include/slice.h"
#include "include/status.h"
#include "include/table_builder.h"
#include "leveldb/slice.h"
#include "leveldb/status.h"
#include "leveldb/table_builder.h"
namespace leveldb { namespace leveldb {

+ 1
- 1
table/iterator.cc View File

@ -2,7 +2,7 @@
// 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.
#include "include/iterator.h"
#include "leveldb/iterator.h"
#include "util/logging.h" #include "util/logging.h"
namespace leveldb { namespace leveldb {

+ 2
- 2
table/merger.cc View File

@ -4,8 +4,8 @@
#include "table/merger.h" #include "table/merger.h"
#include "include/comparator.h"
#include "include/iterator.h"
#include "leveldb/comparator.h"
#include "leveldb/iterator.h"
#include "table/iterator_wrapper.h" #include "table/iterator_wrapper.h"
namespace leveldb { namespace leveldb {

+ 3
- 3
table/table.cc View File

@ -2,10 +2,10 @@
// 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.
#include "include/table.h"
#include "leveldb/table.h"
#include "include/cache.h"
#include "include/env.h"
#include "leveldb/cache.h"
#include "leveldb/env.h"
#include "table/block.h" #include "table/block.h"
#include "table/format.h" #include "table/format.h"
#include "table/two_level_iterator.h" #include "table/two_level_iterator.h"

+ 3
- 3
table/table_builder.cc View File

@ -2,12 +2,12 @@
// 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.
#include "include/table_builder.h"
#include "leveldb/table_builder.h"
#include <assert.h> #include <assert.h>
#include <stdio.h> #include <stdio.h>
#include "include/comparator.h"
#include "include/env.h"
#include "leveldb/comparator.h"
#include "leveldb/env.h"
#include "table/block_builder.h" #include "table/block_builder.h"
#include "table/format.h" #include "table/format.h"
#include "util/coding.h" #include "util/coding.h"

+ 5
- 5
table/table_test.cc View File

@ -2,16 +2,16 @@
// 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.
#include "include/table.h"
#include "leveldb/table.h"
#include <map> #include <map>
#include "db/dbformat.h" #include "db/dbformat.h"
#include "db/memtable.h" #include "db/memtable.h"
#include "db/write_batch_internal.h" #include "db/write_batch_internal.h"
#include "include/db.h"
#include "include/env.h"
#include "include/iterator.h"
#include "include/table_builder.h"
#include "leveldb/db.h"
#include "leveldb/env.h"
#include "leveldb/iterator.h"
#include "leveldb/table_builder.h"
#include "table/block.h" #include "table/block.h"
#include "table/block_builder.h" #include "table/block_builder.h"
#include "table/format.h" #include "table/format.h"

+ 1
- 1
table/two_level_iterator.cc View File

@ -4,7 +4,7 @@
#include "table/two_level_iterator.h" #include "table/two_level_iterator.h"
#include "include/table.h"
#include "leveldb/table.h"
#include "table/block.h" #include "table/block.h"
#include "table/format.h" #include "table/format.h"
#include "table/iterator_wrapper.h" #include "table/iterator_wrapper.h"

+ 1
- 1
table/two_level_iterator.h View File

@ -5,7 +5,7 @@
#ifndef STORAGE_LEVELDB_TABLE_TWO_LEVEL_ITERATOR_H_ #ifndef STORAGE_LEVELDB_TABLE_TWO_LEVEL_ITERATOR_H_
#define STORAGE_LEVELDB_TABLE_TWO_LEVEL_ITERATOR_H_ #define STORAGE_LEVELDB_TABLE_TWO_LEVEL_ITERATOR_H_
#include "include/iterator.h"
#include "leveldb/iterator.h"
namespace leveldb { namespace leveldb {

+ 1
- 1
util/cache.cc View File

@ -12,7 +12,7 @@
#include <assert.h> #include <assert.h>
#include "include/cache.h"
#include "leveldb/cache.h"
#include "port/port.h" #include "port/port.h"
#include "util/hash.h" #include "util/hash.h"
#include "util/mutexlock.h" #include "util/mutexlock.h"

+ 1
- 1
util/cache_test.cc View File

@ -2,7 +2,7 @@
// 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.
#include "include/cache.h"
#include "leveldb/cache.h"
#include <vector> #include <vector>
#include "util/coding.h" #include "util/coding.h"

+ 1
- 1
util/coding.h View File

@ -13,7 +13,7 @@
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
#include <string> #include <string>
#include "include/slice.h"
#include "leveldb/slice.h"
#include "port/port.h" #include "port/port.h"
namespace leveldb { namespace leveldb {

+ 2
- 2
util/comparator.cc View File

@ -3,8 +3,8 @@
// 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.
#include <stdint.h> #include <stdint.h>
#include "include/comparator.h"
#include "include/slice.h"
#include "leveldb/comparator.h"
#include "leveldb/slice.h"
#include "util/logging.h" #include "util/logging.h"
namespace leveldb { namespace leveldb {

+ 1
- 1
util/env.cc View File

@ -2,7 +2,7 @@
// 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.
#include "include/env.h"
#include "leveldb/env.h"
namespace leveldb { namespace leveldb {

+ 2
- 2
util/env_chromium.cc View File

@ -19,8 +19,8 @@
#include "base/threading/platform_thread.h" #include "base/threading/platform_thread.h"
#include "base/threading/thread.h" #include "base/threading/thread.h"
#include "base/utf_string_conversions.h" #include "base/utf_string_conversions.h"
#include "include/env.h"
#include "include/slice.h"
#include "leveldb/env.h"
#include "leveldb/slice.h"
#include "port/port.h" #include "port/port.h"
#include "util/logging.h" #include "util/logging.h"

+ 2
- 2
util/env_posix.cc View File

@ -19,8 +19,8 @@
#if defined(LEVELDB_PLATFORM_ANDROID) #if defined(LEVELDB_PLATFORM_ANDROID)
#include <sys/stat.h> #include <sys/stat.h>
#endif #endif
#include "include/env.h"
#include "include/slice.h"
#include "leveldb/env.h"
#include "leveldb/slice.h"
#include "port/port.h" #include "port/port.h"
#include "util/logging.h" #include "util/logging.h"

+ 1
- 1
util/env_test.cc View File

@ -2,7 +2,7 @@
// 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.
#include "include/env.h"
#include "leveldb/env.h"
#include "port/port.h" #include "port/port.h"
#include "util/testharness.h" #include "util/testharness.h"

+ 2
- 2
util/logging.cc View File

@ -8,8 +8,8 @@
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "include/env.h"
#include "include/slice.h"
#include "leveldb/env.h"
#include "leveldb/slice.h"
namespace leveldb { namespace leveldb {

+ 3
- 3
util/options.cc View File

@ -2,10 +2,10 @@
// 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.
#include "include/options.h"
#include "leveldb/options.h"
#include "include/comparator.h"
#include "include/env.h"
#include "leveldb/comparator.h"
#include "leveldb/env.h"
namespace leveldb { namespace leveldb {

+ 1
- 1
util/status.cc View File

@ -4,7 +4,7 @@
#include <stdio.h> #include <stdio.h>
#include "port/port.h" #include "port/port.h"
#include "include/status.h"
#include "leveldb/status.h"
namespace leveldb { namespace leveldb {

+ 2
- 2
util/testharness.h View File

@ -8,8 +8,8 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <sstream> #include <sstream>
#include "include/env.h"
#include "include/slice.h"
#include "leveldb/env.h"
#include "leveldb/slice.h"
#include "util/random.h" #include "util/random.h"
namespace leveldb { namespace leveldb {

+ 2
- 2
util/testutil.h View File

@ -5,8 +5,8 @@
#ifndef STORAGE_LEVELDB_UTIL_TESTUTIL_H_ #ifndef STORAGE_LEVELDB_UTIL_TESTUTIL_H_
#define STORAGE_LEVELDB_UTIL_TESTUTIL_H_ #define STORAGE_LEVELDB_UTIL_TESTUTIL_H_
#include "include/env.h"
#include "include/slice.h"
#include "leveldb/env.h"
#include "leveldb/slice.h"
#include "util/random.h" #include "util/random.h"
namespace leveldb { namespace leveldb {

Loading…
Cancel
Save