21 #include "mongo/base/disallow_copying.h"
22 #include "mongo/base/initializer_context.h"
23 #include "mongo/base/initializer_dependency_graph.h"
24 #include "mongo/base/status.h"
25 #include "mongo/client/export_macros.h"
57 Status execute(
const InitializerContext::ArgumentVector& args,
58 const InitializerContext::EnvironmentMap& env)
const;
74 const InitializerContext::EnvironmentMap& env);
Status represents an error state or the absence thereof.
Definition: status.h:50
Representation of a dependency graph of "initialization operations.".
Definition: initializer_dependency_graph.h:47
Utility functions for parsing numbers from strings.
Definition: compare_numbers.h:20
InitializerDependencyGraph & getInitializerDependencyGraph()
Get the initializer dependency graph, presumably for the purpose of adding more nodes.
Definition: initializer.h:47
Class representing an initialization process.
Definition: initializer.h:37
Status runGlobalInitializers(const InitializerContext::ArgumentVector &args, const InitializerContext::EnvironmentMap &env)
Run the global initializers.
void runGlobalInitializersOrDie(int argc, const char *const *argv, const char *const *envp)
Same as runGlobalInitializers(), except prints a brief message to std::cerr and terminates the proces...
MONGO_CLIENT_API Status(MONGO_CLIENT_FUNC *saslClientAuthenticate)(DBClientWithCommands *client
Attempts to authenticate "client" using the SASL protocol.
Status execute(const InitializerContext::ArgumentVector &args, const InitializerContext::EnvironmentMap &env) const
Execute the initializer process, using the given argv and environment data as input.