#include "OW_config.h"
#include "OW_CIMOMEnvironment.hpp"
#include "OW_ConfigOpts.hpp"
#include "OW_Platform.hpp"
#include "OW_PlatformSignal.hpp"
#include "OW_Assertion.hpp"
#include "OW_Format.hpp"
#include "OW_Logger.hpp"
#include "OW_CerrLogger.hpp"
#include "OW_CmdLineParser.hpp"
#include <exception>
#include <iostream>
#include <new>
Include dependency graph for owcimomd_main.cpp:
Go to the source code of this file.
Defines | |
#define | STRINGIFY_ARGUMENT(x) #x |
#define | STRINGIFY_DEFINITION_VALUE(x) STRINGIFY_ARGUMENT(x) |
Enumerations | |
enum | { E_HELP_OPT, E_VERSION_OPT, E_LIBRARY_VERSION_OPT, E_DEBUG_MODE_OPT, E_CONFIG_FILE_OPT } |
Functions | |
void | processCommandLine (int argc, char *argv[], CIMOMEnvironmentRef env) |
void | printUsage (std::ostream &ostrm) |
const String | COMPONENT_NAME ("ow.owcimomd") |
void | owcimomd_new_handler () |
int | main (int argc, char *argv[]) |
void | processCommandLine (int argc, char *argv[], CIMOMEnvironmentRef env) |
void | printUsage (std::ostream &ostrm) |
Variables | |
const CmdLineParser::Option | g_options [] |
|
|
|
|
|
Definition at line 61 of file owcimomd_main.cpp. |
|
|
|
|
Definition at line 328 of file owcimomd_main.cpp. References OW_NAMESPACE::Platform::restartDaemon(). Referenced by main(). |
|
Definition at line 320 of file owcimomd_main.cpp. References g_options, and OW_DAEMON_NAME. |
|
Referenced by processCommandLine(). |
|
Definition at line 256 of file owcimomd_main.cpp. References OW_NAMESPACE::Platform::daemonInit(), E_HELP_OPT, E_VERSION_OPT, g_options, OW_DAEMON_NAME, and printUsage(). |
|
Referenced by main(). |
|
Initial value: { {E_HELP_OPT, 'h', "help", CmdLineParser::E_NO_ARG, 0, "Show help about options and exit"}, {E_VERSION_OPT, 'v', "version", CmdLineParser::E_NO_ARG, 0, "Show version information and exit"}, {E_LIBRARY_VERSION_OPT, 'l', "libversion", CmdLineParser::E_NO_ARG, 0, "Show the required OpenWBEM library version and exit"}, {E_DEBUG_MODE_OPT, 'd', "debug", CmdLineParser::E_NO_ARG, 0, "Use debug mode (does not detach from terminal)"}, {E_CONFIG_FILE_OPT, 'c', "config", CmdLineParser::E_REQUIRED_ARG, 0, "Use <arg> instead of the default config file"}, {0, 0, 0, CmdLineParser::E_NO_ARG, 0, 0} } Definition at line 69 of file owcimomd_main.cpp. Referenced by printUsage(), and processCommandLine(). |