From 623a59e75e30fb96e48f13f3417d9764b975f72c Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Wed, 23 Jan 2019 13:03:39 -0800 Subject: [PATCH] ircd::db: Move database.h up from database/ dir; update README. --- include/ircd/db/{database => }/database.h | 0 include/ircd/db/database/README.md | 8 +++----- include/ircd/db/db.h | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) rename include/ircd/db/{database => }/database.h (100%) diff --git a/include/ircd/db/database/database.h b/include/ircd/db/database.h similarity index 100% rename from include/ircd/db/database/database.h rename to include/ircd/db/database.h diff --git a/include/ircd/db/database/README.md b/include/ircd/db/database/README.md index 9c989517b..f0a7911ef 100644 --- a/include/ircd/db/database/README.md +++ b/include/ircd/db/database/README.md @@ -1,7 +1,5 @@ This directory contains lower-level interfaces which generally require including RocksDB -for symbols which cannot be forward declared. These are used internally by `ircd/db.cc` -and are not necessary for developers wishing to use `ircd::db`. The public interfaces -to `ircd::db` are one directory up. +for symbols which cannot be forward declared. These are mostly used internally by +`ircd/db.cc` and are not necessary for developers wishing to use `ircd::db`. -The only essential public interface here in the standard include stack is `database.h` -itself. Also note that `ircd::db::database` is typedef'ed to `ircd::database`. +The public interfaces to `ircd::db` are one directory up. diff --git a/include/ircd/db/db.h b/include/ircd/db/db.h index 854d29243..c8b1f7131 100644 --- a/include/ircd/db/db.h +++ b/include/ircd/db/db.h @@ -48,7 +48,7 @@ namespace ircd::db #include "merge.h" #include "descriptor.h" #include "database/rocksdb.h" -#include "database/database.h" +#include "database.h" #include "database/snapshot.h" #include "database/sst.h" #include "database/wal.h"