version 1.186, 2006/08/04 19:06:02
|
version 1.188, 2006/08/09 21:13:10
|
|
|
// needed to localize the exceptions thrown during CIM request processing. | // needed to localize the exceptions thrown during CIM request processing. |
// Note: This function should never be called! | // Note: This function should never be called! |
// | // |
PEGASUS_THREAD_RETURN PEGASUS_THREAD_CDECL dummyThreadFunc(void *parm) |
ThreadReturnType PEGASUS_THREAD_CDECL dummyThreadFunc(void *parm) |
{ | { |
return((PEGASUS_THREAD_RETURN)0); |
return((ThreadReturnType)0); |
} | } |
| |
// | // |
|
|
| |
if (os400StartupOption == false) | if (os400StartupOption == false) |
{ | { |
enableHttpConnection = String::equal( |
enableHttpConnection = ConfigManager::parseBooleanValue( |
configManager->getCurrentValue("enableHttpConnection"), "true"); |
configManager->getCurrentValue("enableHttpConnection")); |
enableHttpsConnection = String::equal( |
enableHttpsConnection = ConfigManager::parseBooleanValue( |
configManager->getCurrentValue("enableHttpsConnection"), "true"); |
configManager->getCurrentValue("enableHttpsConnection")); |
enableSSLExportClientVerification = String::equal( |
enableSSLExportClientVerification = ConfigManager::parseBooleanValue( |
configManager->getCurrentValue("enableSSLExportClientVerification"), "true"); |
configManager->getCurrentValue("enableSSLExportClientVerification")); |
} | } |
#else | #else |
Boolean enableHttpConnection = String::equal( |
Boolean enableHttpConnection = ConfigManager::parseBooleanValue( |
configManager->getCurrentValue("enableHttpConnection"), "true"); |
configManager->getCurrentValue("enableHttpConnection")); |
Boolean enableHttpsConnection = String::equal( |
Boolean enableHttpsConnection = ConfigManager::parseBooleanValue( |
configManager->getCurrentValue("enableHttpsConnection"), "true"); |
configManager->getCurrentValue("enableHttpsConnection")); |
Boolean enableSSLExportClientVerification = String::equal( |
Boolean enableSSLExportClientVerification = |
configManager->getCurrentValue("enableSSLExportClientVerification"), "true"); |
ConfigManager::parseBooleanValue(configManager->getCurrentValue( |
|
"enableSSLExportClientVerification")); |
#endif | #endif |
| |
// Make sure at least one connection is enabled | // Make sure at least one connection is enabled |
|
|
try | try |
{ | { |
// | // |
// Check to see if we should Pegasus as a daemon |
// Check to see if we should start Pegasus as a daemon |
// | // |
| |
if (String::equal(configManager->getCurrentValue("daemon"), "true")) |
daemonOption = ConfigManager::parseBooleanValue( |
{ |
configManager->getCurrentValue("daemon")); |
daemonOption = true; |
|
} |
|
| |
#ifdef PEGASUS_OS_OS400 | #ifdef PEGASUS_OS_OS400 |
if (os400StartupOption == false) | if (os400StartupOption == false) |