summaryrefslogtreecommitdiff
path: root/db/instance.h
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2009-05-13 11:58:24 -0400
committerAaron <aaron@10gen.com>2009-05-13 11:58:24 -0400
commit92aa0ce095fafc14ddb9b37e27678ccce9eb214f (patch)
tree0ba8cb03815527b54416cadbeff1e43a2fabc31f /db/instance.h
parent78b57f297ebaf75eee1f8b5060d438791a50dd87 (diff)
downloadmongo-92aa0ce095fafc14ddb9b37e27678ccce9eb214f.tar.gz
maintain stack of current ops, do http authentication after recording context for http output
Diffstat (limited to 'db/instance.h')
-rw-r--r--db/instance.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/db/instance.h b/db/instance.h
index b8920011f6a..9dcb1cb3833 100644
--- a/db/instance.h
+++ b/db/instance.h
@@ -25,7 +25,9 @@
namespace mongo {
- extern CurOp currentOp;
+ CurOp& currentOp();
+ vector< CurOp >::const_iterator currentOpsBegin();
+ vector< CurOp >::const_iterator currentOpsEnd();
// turn on or off the oplog.* files which the db can generate.
// these files are for diagnostic purposes and are unrelated to