Permalink
Browse files

MB-7405: Make extension for all header files .h

Change-Id: I7badb1e71c038b6498296c2893ccdbd47c2f0f87
Reviewed-on: http://review.couchbase.org/23483
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>
  • Loading branch information...
1 parent 443c735 commit fc9615cdebbf8028977fea5b3ebf7ebd6a0b9718 @mikewied mikewied committed with mikewied Nov 23, 2012
Showing with 364 additions and 364 deletions.
  1. +94 −94 Makefile.am
  2. +1 −1 src/access_scanner.cc
  3. +2 −2 src/{access_scanner.hh → access_scanner.h}
  4. +1 −1 src/atomic.cc
  5. +2 −2 src/{atomic.hh → atomic.h}
  6. +3 −3 src/backfill.cc
  7. +3 −3 src/{backfill.hh → backfill.h}
  8. +1 −1 src/bgfetcher.cc
  9. +2 −2 src/{bgfetcher.hh → bgfetcher.h}
  10. +1 −1 src/blackhole-kvstore/blackhole.cc
  11. +1 −1 src/blackhole-kvstore/{blackhole.hh → blackhole.h}
  12. +1 −1 src/{callbacks.hh → callbacks.h}
  13. +3 −3 src/checkpoint.cc
  14. +5 −5 src/{checkpoint.hh → checkpoint.h}
  15. +3 −3 src/checkpoint_remover.cc
  16. +3 −3 src/{checkpoint_remover.hh → checkpoint_remover.h}
  17. 0 src/{common.hh → common.h}
  18. +2 −2 src/configuration.cc
  19. +2 −2 src/{configuration.hh → configuration.h}
  20. +3 −3 src/couch-kvstore/couch-fs-stats.cc
  21. 0 src/couch-kvstore/{couch-fs-stats.hh → couch-fs-stats.h}
  22. +1 −1 src/couch-kvstore/couch-kvstore-dummy.cc
  23. +1 −1 src/couch-kvstore/{couch-kvstore-dummy.hh → couch-kvstore-dummy.h}
  24. +4 −4 src/couch-kvstore/couch-kvstore.cc
  25. +7 −7 src/couch-kvstore/{couch-kvstore.hh → couch-kvstore.h}
  26. +3 −3 src/couch-kvstore/couch-notifier.cc
  27. +4 −4 src/couch-kvstore/{couch-notifier.hh → couch-notifier.h}
  28. +1 −1 src/couch-kvstore/dirutils.cc
  29. 0 src/couch-kvstore/{dirutils.hh → dirutils.h}
  30. +2 −2 src/dispatcher.cc
  31. +5 −5 src/{dispatcher.hh → dispatcher.h}
  32. +10 −10 src/ep.cc
  33. +13 −13 src/{ep.hh → ep.h}
  34. +6 −6 src/ep_engine.cc
  35. +10 −10 src/ep_engine.h
  36. +1 −1 src/ep_extension.h
  37. +1 −1 src/flusher.cc
  38. +4 −4 src/{flusher.hh → flusher.h}
  39. +2 −2 src/{histo.hh → histo.h}
  40. +3 −3 src/htresizer.cc
  41. +1 −1 src/{htresizer.hh → htresizer.h}
  42. +1 −1 src/item.cc
  43. +5 −5 src/{item.hh → item.h}
  44. +3 −3 src/item_pager.cc
  45. +3 −3 src/{item_pager.hh → item_pager.h}
  46. +7 −7 src/kvstore.cc
  47. +5 −5 src/{kvstore.hh → kvstore.h}
  48. +3 −3 src/{locks.hh → locks.h}
  49. +2 −2 src/memory_tracker.cc
  50. +2 −2 src/{memory_tracker.hh → memory_tracker.h}
  51. +1 −1 src/mutation_log.cc
  52. +3 −3 src/{mutation_log.hh → mutation_log.h}
  53. +2 −2 src/mutation_log_compactor.cc
  54. +4 −4 src/{mutation_log_compactor.hh → mutation_log_compactor.h}
  55. +2 −2 src/mutex.cc
  56. +1 −1 src/{mutex.hh → mutex.h}
  57. 0 src/{objectregistry.hh → objectregistry.h}
  58. +1 −1 src/priority.cc
  59. +1 −1 src/{priority.hh → priority.h}
  60. +1 −1 src/queueditem.cc
  61. +3 −3 src/{queueditem.hh → queueditem.h}
  62. +1 −1 src/{ringbuffer.hh → ringbuffer.h}
  63. +6 −6 src/sizes.cc
  64. +4 −4 src/{stats.hh → stats.h}
  65. +2 −2 src/statsnap.cc
  66. +3 −3 src/{statsnap.hh → statsnap.h}
  67. +1 −1 src/{statwriter.hh → statwriter.h}
  68. +1 −1 src/stored-value.cc
  69. +6 −6 src/{stored-value.hh → stored-value.h}
  70. +1 −1 src/{syncobject.hh → syncobject.h}
  71. +2 −2 src/tapconnection.cc
  72. +5 −5 src/{tapconnection.hh → tapconnection.h}
  73. +2 −2 src/tapconnmap.cc
  74. +4 −4 src/{tapconnmap.hh → tapconnmap.h}
  75. +2 −2 src/tapthrottle.cc
  76. +3 −3 src/{tapthrottle.hh → tapthrottle.h}
  77. +1 −1 src/testlogger.cc
  78. +2 −2 src/vbucket.cc
  79. +6 −6 src/{vbucket.hh → vbucket.h}
  80. +1 −1 src/vbucketmap.cc
  81. +2 −2 src/{vbucketmap.hh → vbucketmap.h}
  82. +2 −2 src/warmup.cc
  83. +1 −1 src/{warmup.hh → warmup.h}
  84. +1 −1 tests/ep_test_apis.h
  85. +4 −4 tests/ep_testsuite.cc
  86. +1 −1 tests/mock/mccouch.cc
  87. 0 tests/mock/{mccouch.hh → mccouch.h}
  88. +3 −3 tests/module_tests/atomic_ptr_test.cc
  89. +2 −2 tests/module_tests/atomic_test.cc
  90. +4 −4 tests/module_tests/checkpoint_test.cc
  91. +1 −1 tests/module_tests/chunk_creation_test.cc
  92. +1 −1 tests/module_tests/dirutils_test.cc
  93. +4 −4 tests/module_tests/dispatcher_test.cc
  94. +4 −4 tests/module_tests/hash_table_test.cc
  95. +1 −1 tests/module_tests/histo_test.cc
  96. +1 −1 tests/module_tests/hrtime_test.cc
  97. +1 −1 tests/module_tests/json_test.cc
  98. +1 −1 tests/module_tests/misc_test.cc
  99. +1 −1 tests/module_tests/mutation_log_test.cc
  100. +2 −2 tests/module_tests/mutex_test.cc
  101. +1 −1 tests/module_tests/priority_test.cc
  102. +1 −1 tests/module_tests/ringbuffer_test.cc
  103. +1 −1 tests/module_tests/test_memory_tracker.cc
  104. +1 −1 tests/module_tests/{threadtests.hh → threadtests.h}
  105. +5 −5 tests/module_tests/vbucket_test.cc
  106. +1 −1 tools/genconfig.cc
  107. +1 −1 win32/Makefile.genconf
  108. +1 −1 win32/Makefile.mingw
View
Oops, something went wrong.
@@ -3,7 +3,7 @@
#include <iostream>
#include "ep_engine.h"
-#include "access_scanner.hh"
+#include "access_scanner.h"
class ItemAccessVisitor : public VBucketVisitor {
public:
@@ -2,8 +2,8 @@
#ifndef ACCESS_SCANNER_HH
#define ACCESS_SCANNER_HH 1
-#include "common.hh"
-#include "dispatcher.hh"
+#include "common.h"
+#include "dispatcher.h"
// Forward declaration.
class EventuallyPersistentStore;
View
@@ -16,7 +16,7 @@
*/
#include "config.h"
-#include "atomic.hh"
+#include "atomic.h"
SpinLock::SpinLock() : lock(0) {
EP_SPINLOCK_CREATED(this);
@@ -9,8 +9,8 @@
#include <stdio.h>
#include <stdlib.h>
-#include "callbacks.hh"
-#include "locks.hh"
+#include "callbacks.h"
+#include "locks.h"
#define MAX_THREADS 100
View
@@ -1,9 +1,9 @@
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
#include "config.h"
-#include "vbucket.hh"
+#include "vbucket.h"
#include "ep_engine.h"
-#include "ep.hh"
-#include "backfill.hh"
+#include "ep.h"
+#include "backfill.h"
static bool isMemoryUsageTooHigh(EPStats &stats) {
@@ -5,9 +5,9 @@
#include <assert.h>
#include <set>
-#include "common.hh"
-#include "stats.hh"
-#include "dispatcher.hh"
+#include "common.h"
+#include "stats.h"
+#include "dispatcher.h"
#include "ep_engine.h"
#define BACKFILL_MEM_THRESHOLD 0.95
View
@@ -1,6 +1,6 @@
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
#include "config.h"
-#include "ep.hh"
+#include "ep.h"
const double BgFetcher::sleepInterval = 1.0;
@@ -6,8 +6,8 @@
#include <vector>
#include <list>
-#include "common.hh"
-#include "dispatcher.hh"
+#include "common.h"
+#include "dispatcher.h"
const uint16_t MAX_BGFETCH_RETRY=5;
@@ -5,7 +5,7 @@
#include <cctype>
#include <algorithm>
-#include "blackhole-kvstore/blackhole.hh"
+#include "blackhole-kvstore/blackhole.h"
BlackholeKVStore::BlackholeKVStore(bool)
{
@@ -2,7 +2,7 @@
#ifndef BLACKHOLE_KVSTORE_H
#define BLACKHOLE_KVSTORE_H 1
-#include "kvstore.hh"
+#include "kvstore.h"
/**
* A black hole kv-store
@@ -4,7 +4,7 @@
#include <cassert>
-#include "locks.hh"
+#include "locks.h"
class Item;
View
@@ -1,7 +1,7 @@
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
#include "config.h"
-#include "vbucket.hh"
-#include "checkpoint.hh"
+#include "vbucket.h"
+#include "checkpoint.h"
#include "ep_engine.h"
/**
@@ -37,7 +37,7 @@ class CheckpointConfigChangeListener : public ValueChangedListener {
};
#define STATWRITER_NAMESPACE checkpoint
-#include "statwriter.hh"
+#include "statwriter.h"
#undef STATWRITER_NAMESPACE
Checkpoint::~Checkpoint() {
@@ -7,11 +7,11 @@
#include <map>
#include <set>
-#include "common.hh"
-#include "atomic.hh"
-#include "locks.hh"
-#include "queueditem.hh"
-#include "stats.hh"
+#include "common.h"
+#include "atomic.h"
+#include "locks.h"
+#include "queueditem.h"
+#include "stats.h"
#define MIN_CHECKPOINT_ITEMS 100
#define MAX_CHECKPOINT_ITEMS 500000
@@ -1,9 +1,9 @@
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
#include "config.h"
-#include "vbucket.hh"
+#include "vbucket.h"
#include "ep_engine.h"
-#include "ep.hh"
-#include "checkpoint_remover.hh"
+#include "ep.h"
+#include "checkpoint_remover.h"
/**
* Remove all the closed unreferenced checkpoints for each vbucket.
@@ -5,9 +5,9 @@
#include <assert.h>
#include <set>
-#include "common.hh"
-#include "stats.hh"
-#include "dispatcher.hh"
+#include "common.h"
+#include "stats.h"
+#include "dispatcher.h"
class EventuallyPersistentStore;
File renamed without changes.
@@ -17,14 +17,14 @@
#include "config.h"
-#include "configuration.hh"
+#include "configuration.h"
#include <vector>
#include <limits>
#include <sstream>
#include <iostream>
#define STATWRITER_NAMESPACE config
-#include "statwriter.hh"
+#include "statwriter.h"
#undef STATWRITER_NAMESPACE
Configuration::Configuration() {
@@ -23,7 +23,7 @@
#include <assert.h>
#include <iostream>
-#include "locks.hh"
+#include "locks.h"
#include "memcached/engine.h"
/**
@@ -261,7 +261,7 @@ class Configuration {
~Configuration();
// Include the generated prototypes for the member functions
-#include "generated_configuration.hh"
+#include "generated_configuration.h"
/**
* Parse a configuration string and set the local members
@@ -1,7 +1,7 @@
#include "config.h"
-#include "common.hh"
-#include "histo.hh"
-#include "couch-kvstore/couch-fs-stats.hh"
+#include "common.h"
+#include "histo.h"
+#include "couch-kvstore/couch-fs-stats.h"
extern "C" {
static couch_file_handle cfs_construct(void* cookie);
@@ -1,6 +1,6 @@
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
#include "config.h"
-#include "couch-kvstore/couch-kvstore-dummy.hh"
+#include "couch-kvstore/couch-kvstore-dummy.h"
CouchKVStore::CouchKVStore(EventuallyPersistentEngine &, bool) : KVStore()
{
@@ -5,7 +5,7 @@
#error "This header file should only be included if you don't have libcouchstore"
#endif
-#include "kvstore.hh"
+#include "kvstore.h"
class EventuallyPersistentEngine;
class EPStats;
@@ -11,15 +11,15 @@
#include <iostream>
#include <fstream>
-#include "common.hh"
+#include "common.h"
#include "ep_engine.h"
-#include "couch-kvstore/couch-kvstore.hh"
-#include "couch-kvstore/dirutils.hh"
+#include "couch-kvstore/couch-kvstore.h"
+#include "couch-kvstore/dirutils.h"
#include "tools/cJSON.h"
#include "tools/JSON_checker.h"
#define STATWRITER_NAMESPACE couchstore_engine
-#include "statwriter.hh"
+#include "statwriter.h"
#undef STATWRITER_NAMESPACE
using namespace CouchKVStoreDirectoryUtilities;
@@ -2,13 +2,13 @@
#define COUCH_KVSTORE_H 1
#include "libcouchstore/couch_db.h"
-#include "kvstore.hh"
-#include "item.hh"
-#include "histo.hh"
-#include "stats.hh"
-#include "configuration.hh"
-#include "couch-kvstore/couch-notifier.hh"
-#include "couch-kvstore/couch-fs-stats.hh"
+#include "kvstore.h"
+#include "item.h"
+#include "histo.h"
+#include "stats.h"
+#include "configuration.h"
+#include "couch-kvstore/couch-notifier.h"
+#include "couch-kvstore/couch-fs-stats.h"
#define COUCHSTORE_NO_OPTIONS 0
@@ -4,13 +4,13 @@
#include <cstdlib>
#include <cctype>
#include <algorithm>
-#include "locks.hh"
+#include "locks.h"
-#include "couch-kvstore/couch-notifier.hh"
+#include "couch-kvstore/couch-notifier.h"
#include "ep_engine.h"
#define STATWRITER_NAMESPACE couch_notifier
-#include "statwriter.hh"
+#include "statwriter.h"
#undef STATWRITER_NAMESPACE
#ifdef WIN32
@@ -5,10 +5,10 @@
#include <vector>
#include <queue>
#include <event.h>
-#include "mutex.hh"
-#include "configuration.hh"
-#include "callbacks.hh"
-#include "kvstore.hh"
+#include "mutex.h"
+#include "configuration.h"
+#include "callbacks.h"
+#include "kvstore.h"
/*
* libevent2 define evutil_socket_t so that it'll automagically work
@@ -1,7 +1,7 @@
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
#include "config.h"
#include <dirent.h>
-#include "couch-kvstore/dirutils.hh"
+#include "couch-kvstore/dirutils.h"
#include <string.h>
namespace CouchKVStoreDirectoryUtilities
File renamed without changes.
View
@@ -15,8 +15,8 @@
* limitations under the License.
*/
#include "config.h"
-#include "dispatcher.hh"
-#include "objectregistry.hh"
+#include "dispatcher.h"
+#include "objectregistry.h"
extern "C" {
static void* launch_dispatcher_thread(void* arg);
@@ -5,11 +5,11 @@
#include <stdexcept>
#include <queue>
-#include "common.hh"
-#include "atomic.hh"
-#include "locks.hh"
-#include "priority.hh"
-#include "ringbuffer.hh"
+#include "common.h"
+#include "atomic.h"
+#include "locks.h"
+#include "priority.h"
+#include "ringbuffer.h"
#define JOB_LOG_SIZE 20
View
@@ -24,17 +24,17 @@
#include <fstream>
#include <functional>
-#include "ep.hh"
-#include "flusher.hh"
-#include "warmup.hh"
-#include "statsnap.hh"
-#include "locks.hh"
-#include "dispatcher.hh"
-#include "kvstore.hh"
+#include "ep.h"
+#include "flusher.h"
+#include "warmup.h"
+#include "statsnap.h"
+#include "locks.h"
+#include "dispatcher.h"
+#include "kvstore.h"
#include "ep_engine.h"
-#include "htresizer.hh"
-#include "checkpoint_remover.hh"
-#include "access_scanner.hh"
+#include "htresizer.h"
+#include "checkpoint_remover.h"
+#include "access_scanner.h"
class StatsValueChangeListener : public ValueChangedListener {
public:
Oops, something went wrong.

0 comments on commit fc9615c

Please sign in to comment.