diff --git a/util/hashtab.h b/util/hashtab.h index defc2c35bd9..56106fb712e 100644 --- a/util/hashtab.h +++ b/util/hashtab.h @@ -141,7 +141,17 @@ namespace mongo { nodes[i].value = value; return true; } - + + typedef void (*IteratorCallback)( const Key& k , Type& v ); + + void iterall( IteratorCallback callback ){ + for ( int i=0; i