(file) Return to Constants.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/Constants.h between version 1.40 and 1.51

version 1.40, 2003/10/17 18:29:16 version 1.51, 2004/06/29 20:47:18
Line 1 
Line 1 
 //%/////////////////////////////////////////////////////////////////////////////  //%2003////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM,  // Copyright (c) 2000, 2001, 2002  BMC Software, Hewlett-Packard Development
 // The Open Group, Tivoli Systems  // Company, L. P., IBM Corp., The Open Group, Tivoli Systems.
   // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.;
   // IBM Corp.; EMC Corporation, The Open Group.
 // //
 // Permission is hereby granted, free of charge, to any person obtaining a copy // Permission is hereby granted, free of charge, to any person obtaining a copy
 // of this software and associated documentation files (the "Software"), to // of this software and associated documentation files (the "Software"), to
Line 25 
Line 27 
 // //
 // Modified By: Carol Ann Krug Graves, Hewlett-Packard Company // Modified By: Carol Ann Krug Graves, Hewlett-Packard Company
 //                (carolann_graves@hp.com) //                (carolann_graves@hp.com)
   //              Yi Zhou, Hewlett-Packard Company (yi.zhou@hp.com)
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 93 
Line 96 
     PEGASUS_QUEUENAME_CONTROLSERVICE "::temp::do not use this name"     PEGASUS_QUEUENAME_CONTROLSERVICE "::temp::do not use this name"
 #define PEGASUS_MODULENAME_MONITOR \ #define PEGASUS_MODULENAME_MONITOR \
     PEGASUS_QUEUENAME_CONTROLSERVICE "::Monitor"     PEGASUS_QUEUENAME_CONTROLSERVICE "::Monitor"
   #define PEGASUS_MODULENAME_INTEROPPROVIDER \
       PEGASUS_QUEUENAME_CONTROLSERVICE "::InteropProvider"
  
 // //
 // CIM Class Names // CIM Class Names
Line 130 
Line 135 
     CIMName ("PG_ShutdownService");     CIMName ("PG_ShutdownService");
 static const CIMName PEGASUS_CLASSNAME___NAMESPACE          = static const CIMName PEGASUS_CLASSNAME___NAMESPACE          =
     CIMName ("__Namespace");     CIMName ("__Namespace");
   
   #ifdef PEGASUS_ENABLE_SLP
   // Interop Classes Accessed through Interop Control Provider
 static const CIMName PEGASUS_CLASSNAME_NAMESPACE            = static const CIMName PEGASUS_CLASSNAME_NAMESPACE            =
     CIMName ("CIM_Namespace");     CIMName ("CIM_Namespace");
   static const CIMName PEGASUS_CLASSNAME_OBJECTMANAGER            =
       CIMName ("CIM_ObjectManager");
   static const CIMName PEGASUS_CLASSNAME_OBJECTMANAGERCOMMUNICATIONMECHANISM  =
       CIMName ("CIM_ObjectManagerCommunicationMechanism");
   static const CIMName PEGASUS_CLASSNAME_CIMXMLCOMMUNICATIONMECHANISM  =
       CIMName ("CIM_CIMXMLCommunicationMechanism");
   static const CIMName PEGASUS_CLASSNAME_PG_CIMXMLCOMMUNICATIONMECHANISM  =
       CIMName ("PG_CIMXMLCommunicationMechanism");
   static const CIMName PEGASUS_CLASSNAME_PROTOCOLADAPTER  =
       CIMName ("CIM_ProtocolAdapter");
   static const CIMName PEGASUS_CLASSNAME_NAMESPACEINMANAGER  =
       CIMName ("CIM_NamespaceInManager");
  
   // slp Class which operates slp provider. Started by system
   
   static const CIMName PEGASUS_CLASSNAME_WBEMSLPTEMPLATE             =
       CIMName ("PG_WBEMSLPTEMPLATE");
   #endif
  
 // //
 // Property Names // Property Names
Line 188 
Line 213 
 #define HTTP_REASONPHRASE_UNAUTHORIZED "Unauthorized" #define HTTP_REASONPHRASE_UNAUTHORIZED "Unauthorized"
 #define HTTP_STATUS_UNAUTHORIZED "401 Unauthorized" #define HTTP_STATUS_UNAUTHORIZED "401 Unauthorized"
  
   #define HTTP_STATUSCODE_FORBIDDEN    403
   #define HTTP_REASONPHRASE_FORBIDDEN    "Forbidden"
   #define HTTP_STATUS_FORBIDDEN    "403 Forbidden"
   
   #define HTTP_STATUSCODE_REQUEST_TOO_LARGE 413
   #define HTTP_REASONPHRASE_REQUEST_TOO_LARGE "Request Entity Too Large"
   #define HTTP_STATUS_REQUEST_TOO_LARGE "413 Request Entity Too Large"
   
 #define HTTP_STATUSCODE_INTERNALSERVERERROR 500 #define HTTP_STATUSCODE_INTERNALSERVERERROR 500
 #define HTTP_REASONPHRASE_INTERNALSERVERERROR "Internal Server Error" #define HTTP_REASONPHRASE_INTERNALSERVERERROR "Internal Server Error"
 #define HTTP_STATUS_INTERNALSERVERERROR "500 Internal Server Error" #define HTTP_STATUS_INTERNALSERVERERROR "500 Internal Server Error"
Line 220 
Line 253 
 #pragma convert(37) #pragma convert(37)
 #define WBEM_HTTP_SERVICE_NAME "wbem-http" #define WBEM_HTTP_SERVICE_NAME "wbem-http"
 #define WBEM_HTTPS_SERVICE_NAME "wbem-https" #define WBEM_HTTPS_SERVICE_NAME "wbem-https"
   #define WBEM_EXPORT_HTTPS_SERVICE_NAME "wbem-exp-https"
 #pragma convert(0) #pragma convert(0)
 #else #else
 #define WBEM_HTTP_SERVICE_NAME "wbem-http" #define WBEM_HTTP_SERVICE_NAME "wbem-http"
 #define WBEM_HTTPS_SERVICE_NAME "wbem-https" #define WBEM_HTTPS_SERVICE_NAME "wbem-https"
   #define WBEM_EXPORT_HTTPS_SERVICE_NAME "wbem-exp-https"
 #endif #endif
  
  
Line 238 
Line 273 
 #define PEGASUS_LOCAL_AUTH_DIR            "/tmp" #define PEGASUS_LOCAL_AUTH_DIR            "/tmp"
 // ATTN: Relocate this relative to PEGASUS_HOME // ATTN: Relocate this relative to PEGASUS_HOME
 #define PEGASUS_LOCAL_DOMAIN_SOCKET_PATH  "/tmp/cimxml.socket" #define PEGASUS_LOCAL_DOMAIN_SOCKET_PATH  "/tmp/cimxml.socket"
   #define PEGASUS_PAM_STANDALONE_PROC_NAME  "bin/cimservera"
   #define PEGASUS_PROVIDER_AGENT_PROC_NAME  "bin/cimprovagt"
  
 #ifdef PEGASUS_USE_RELEASE_DIRS #ifdef PEGASUS_USE_RELEASE_DIRS
 # if defined(PEGASUS_OS_HPUX) # if defined(PEGASUS_OS_HPUX)
Line 253 
Line 290 
 #  define PEGASUS_LOCAL_DOMAIN_SOCKET_PATH  "/var/opt/wbem/socket/cimxml.socket" #  define PEGASUS_LOCAL_DOMAIN_SOCKET_PATH  "/var/opt/wbem/socket/cimxml.socket"
 #  undef PEGASUS_CORE_DIR #  undef PEGASUS_CORE_DIR
 #  define PEGASUS_CORE_DIR                  "/var/opt/wbem" #  define PEGASUS_CORE_DIR                  "/var/opt/wbem"
 # elif defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU)  #  undef PEGASUS_PAM_STANDALONE_PROC_NAME
   #  define PEGASUS_PAM_STANDALONE_PROC_NAME  "/opt/wbem/sbin/cimservera"
   #  undef PEGASUS_PROVIDER_AGENT_PROC_NAME
   #  define PEGASUS_PROVIDER_AGENT_PROC_NAME  "/opt/wbem/sbin/cimprovagt"
   # elif defined(PEGASUS_OS_AIX)
   #  undef PEGASUS_SSLCLIENT_CERTIFICATEFILE
   #  define PEGASUS_SSLCLIENT_CERTIFICATEFILE "/opt/freeware/cimom/pegasus/etc/client.pem"
   #  undef PEGASUS_SSLCLIENT_RANDOMFILE
   #  define PEGASUS_SSLCLIENT_RANDOMFILE      "/opt/freeware/cimom/pegasus/etc/ssl.rnd"
   #  undef PEGASUS_SSLSERVER_RANDOMFILE
   #  define PEGASUS_SSLSERVER_RANDOMFILE      "/opt/freeware/cimom/pegasus/etc/cimserver.rnd"
   #  undef PEGASUS_LOCAL_DOMAIN_SOCKET_PATH
   #  define PEGASUS_LOCAL_DOMAIN_SOCKET_PATH  "/opt/freeware/cimom/pegasus/etc/cimxml.socket"
   # elif defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) && !defined(PEGASUS_OS_LSB)
 #  undef PEGASUS_SSLCLIENT_CERTIFICATEFILE #  undef PEGASUS_SSLCLIENT_CERTIFICATEFILE
 #  define PEGASUS_SSLCLIENT_CERTIFICATEFILE "/var/cache/pegasus/client.pem"  #  define PEGASUS_SSLCLIENT_CERTIFICATEFILE "/etc/pegasus/client.pem"
 #  undef PEGASUS_SSLCLIENT_RANDOMFILE #  undef PEGASUS_SSLCLIENT_RANDOMFILE
 #  define PEGASUS_SSLCLIENT_RANDOMFILE      "/var/cache/pegasus/ssl.rnd"  #  define PEGASUS_SSLCLIENT_RANDOMFILE      "/var/pegasus/ssl.rnd"
 #  undef PEGASUS_SSLSERVER_RANDOMFILE #  undef PEGASUS_SSLSERVER_RANDOMFILE
 #  define PEGASUS_SSLSERVER_RANDOMFILE      "/var/cache/pegasus/cimserver.rnd"  #  define PEGASUS_SSLSERVER_RANDOMFILE      "/var/pegasus/cimserver.rnd"
 #  undef PEGASUS_LOCAL_AUTH_DIR #  undef PEGASUS_LOCAL_AUTH_DIR
 #  define PEGASUS_LOCAL_AUTH_DIR            "/var/cache/pegasus/localauth" #  define PEGASUS_LOCAL_AUTH_DIR            "/var/cache/pegasus/localauth"
 #  undef PEGASUS_LOCAL_DOMAIN_SOCKET_PATH #  undef PEGASUS_LOCAL_DOMAIN_SOCKET_PATH
 #  define PEGASUS_LOCAL_DOMAIN_SOCKET_PATH  "/var/cache/pegasus/cimxml.socket"  #  define PEGASUS_LOCAL_DOMAIN_SOCKET_PATH  "/var/pegasus/socket/cimxml.socket"
   #  undef PEGASUS_PAM_STANDALONE_PROC_NAME
   #  define PEGASUS_PAM_STANDALONE_PROC_NAME  "/usr/sbin/cimservera"
   #  undef PEGASUS_PROVIDER_AGENT_PROC_NAME
   #  define PEGASUS_PROVIDER_AGENT_PROC_NAME  "/usr/sbin/cimprovagt"
   # elif defined(PEGASUS_OS_LSB)
   #  define PEGASUS_SSLCLIENT_CERTIFICATEFILE "/etc/opt/lsb-pegasus/client.pem"
   #  undef PEGASUS_SSLCLIENT_RANDOMFILE
   #  define PEGASUS_SSLCLIENT_RANDOMFILE      "/var/opt/lsb-pegasus/ssl.rnd"
   #  undef PEGASUS_SSLSERVER_RANDOMFILE
   #  define PEGASUS_SSLSERVER_RANDOMFILE      "/var/opt/lsb-pegasus/cimserver.rnd"
   #  undef PEGASUS_LOCAL_AUTH_DIR
   #  define PEGASUS_LOCAL_AUTH_DIR            "/var/opt/lsb-pegasus/localauth"
   #  undef PEGASUS_LOCAL_DOMAIN_SOCKET_PATH
   #  define PEGASUS_LOCAL_DOMAIN_SOCKET_PATH  "/var/opt/lsb-pegasus/socket/cimxml.socket"
   #  undef PEGASUS_PAM_STANDALONE_PROC_NAME
   #  define PEGASUS_PAM_STANDALONE_PROC_NAME  "/opt/lsb-pegasus/sbin/cimservera"
   #  undef PEGASUS_PROVIDER_AGENT_PROC_NAME
   #  define PEGASUS_PROVIDER_AGENT_PROC_NAME  "/opt/lsb-pegasus/sbin/cimprovagt"
 # endif # endif
 #endif #endif
  
   // Constant defines for path to icu resource bundles
   #ifdef PEGASUS_PLATFORM_OS400_ISERIES_IBM
   #define PEGASUS_DEFAULT_MESSAGE_SOURCE  "/QIBM/ProdData/OS400/CIM/msg"
   #else
   #undef PEGASUS_DEFAULT_MESSAGE_SOURCE
   #endif
  
 // //
 // Miscellaneous Constants // Miscellaneous Constants
Line 280 
Line 354 
 // Constant defines the maximum timeout to disable a provider // Constant defines the maximum timeout to disable a provider
 #define PROVIDER_DISABLE_TIMEOUT 15 #define PROVIDER_DISABLE_TIMEOUT 15
  
   // Constants defining the operational status of a CIM_ManagedSystemElement
   #define CIM_MSE_OPSTATUS_VALUE_OK 2
   #define CIM_MSE_OPSTATUS_VALUE_STOPPING 9
   #define CIM_MSE_OPSTATUS_VALUE_STOPPED 10
   
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END
  
 #endif /* Pegasus_Constants_h */ #endif /* Pegasus_Constants_h */


Legend:
Removed from v.1.40  
changed lines
  Added in v.1.51

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2