// d_logic.h #pragma once #include "../stdafx.h" namespace mongo { /** * @return true if the current threads shard version is ok, or not in sharded version */ bool shardVersionOk( const string& ns , string& errmsg ); /** * @return true if we took care of the message and nothing else should be done */ bool handlePossibleShardedMessage( Message &m, DbResponse &dbresponse ); }