diff options
author | Aaron <aaron@10gen.com> | 2009-01-14 17:09:51 -0500 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2009-01-14 17:09:51 -0500 |
commit | ad1f6b3cbdd1183eedc04f98fa813e63ce68a408 (patch) | |
tree | cc0498e49d55eae8e8e1cbb7f494b085a732a45d /db/security.cpp | |
parent | 023535d844a43627d1f2c934ffd349f4355ed4c2 (diff) | |
download | mongo-ad1f6b3cbdd1183eedc04f98fa813e63ce68a408.tar.gz |
Put our code in 'mongo' namespace
Diffstat (limited to 'db/security.cpp')
-rw-r--r-- | db/security.cpp | 8 |
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 |