summaryrefslogtreecommitdiff
path: root/db/security.cpp
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2009-01-14 17:09:51 -0500
committerAaron <aaron@10gen.com>2009-01-14 17:09:51 -0500
commitad1f6b3cbdd1183eedc04f98fa813e63ce68a408 (patch)
treecc0498e49d55eae8e8e1cbb7f494b085a732a45d /db/security.cpp
parent023535d844a43627d1f2c934ffd349f4355ed4c2 (diff)
downloadmongo-ad1f6b3cbdd1183eedc04f98fa813e63ce68a408.tar.gz
Put our code in 'mongo' namespace
Diffstat (limited to 'db/security.cpp')
-rw-r--r--db/security.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/db/security.cpp b/db/security.cpp
index c3921d7ac51..3d78bfe6921 100644
--- a/db/security.cpp
+++ b/db/security.cpp
@@ -4,6 +4,8 @@
#include "security.h"
#include "../util/md5.hpp"
+namespace mongo {
+
extern "C" int do_md5_test(void);
boost::thread_specific_ptr<AuthenticationInfo> authInfo;
@@ -37,8 +39,12 @@ struct Security {
}
} security;
+} // namespace mongo
+
#include "commands.h"
#include "jsobj.h"
+
+namespace mongo {
class CmdGetNonce : public Command {
public:
@@ -61,3 +67,5 @@ public:
}
} cmdAuthenticate;
+
+} // namespace mongo