summaryrefslogtreecommitdiff
path: root/shell/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'shell/utils.h')
-rw-r--r--shell/utils.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/shell/utils.h b/shell/utils.h
index a2d420d..03b3f97 100644
--- a/shell/utils.h
+++ b/shell/utils.h
@@ -21,17 +21,17 @@
#include "../scripting/engine.h"
namespace mongo {
-
+
namespace shellUtils {
extern std::string _dbConnect;
extern std::string _dbAuth;
- extern map< const void*, string > _allMyUris;
+ extern map< string, set<string> > _allMyUris;
extern bool _nokillop;
void RecordMyLocation( const char *_argv0 );
void installShellUtils( Scope& scope );
-
+
// Scoped management of mongo program instances. Simple implementation:
// destructor kills all mongod instances created by the shell.
struct MongoProgramScope {
@@ -39,7 +39,7 @@ namespace mongo {
~MongoProgramScope();
};
void KillMongoProgramInstances();
-
+
void initScope( Scope &scope );
void onConnect( DBClientWithCommands &c );
}