diff options
author | Shaun Verch <shaun.verch@10gen.com> | 2013-08-14 11:54:01 -0400 |
---|---|---|
committer | Shaun Verch <shaun.verch@10gen.com> | 2013-09-05 13:49:35 -0400 |
commit | 03ca1e173f4ad480a817d542780035532a4efb0f (patch) | |
tree | c247110abd231bee71e20abc8f3cd4129fa6550c /src/mongo/db/mongod_options.h | |
parent | ea40937c304ad77884cc3087b491de502dca66b6 (diff) | |
download | mongo-03ca1e173f4ad480a817d542780035532a4efb0f.tar.gz |
SERVER-8510 Use new option parser in mongod and mongos and move parsing into MONGO_INITIALIZERS
Diffstat (limited to 'src/mongo/db/mongod_options.h')
-rw-r--r-- | src/mongo/db/mongod_options.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/mongo/db/mongod_options.h b/src/mongo/db/mongod_options.h new file mode 100644 index 00000000000..f87850ab2b7 --- /dev/null +++ b/src/mongo/db/mongod_options.h @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2013 10gen Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, version 3, + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#pragma once + +#include "mongo/base/status.h" + +namespace mongo { + + namespace optionenvironment { + class OptionSection; + } // namespace optionenvironment + + namespace moe = mongo::optionenvironment; + + Status addMongodOptions(moe::OptionSection* options); +} |