summaryrefslogtreecommitdiff
path: root/db/db.h
diff options
context:
space:
mode:
Diffstat (limited to 'db/db.h')
-rw-r--r--db/db.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/db/db.h b/db/db.h
index 667187a5cda..72c5bc8a4c6 100644
--- a/db/db.h
+++ b/db/db.h
@@ -19,6 +19,8 @@
#include "../stdafx.h"
#include "../grid/message.h"
+namespace mongo {
+
void jniCallback(Message& m, Message& out);
class MutexInfo {
@@ -71,8 +73,12 @@ struct dblock : public lock {
}
};
+} // namespace mongo
+
#include "boost/version.hpp"
+namespace mongo {
+
/* a scoped release of a mutex temporarily -- like a scopedlock but reversed.
*/
struct temprelease {
@@ -93,8 +99,12 @@ struct temprelease {
}
};
+} // namespace mongo
+
#include "pdfile.h"
+namespace mongo {
+
// tempish...move to TLS or pass all the way down as a parm
extern map<string,Database*> databases;
extern Database *database;
@@ -190,4 +200,6 @@ struct dbtemprelease {
}
};
+} // namespace mongo
+
#include "dbinfo.h"