(file) Return to cimserver_windows.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / WMIMapper / WMIServer / Attic

Diff for /pegasus/src/WMIMapper/WMIServer/Attic/cimserver_windows.cpp between version 1.11 and 1.13

version 1.11, 2005/02/05 23:01:33 version 1.13, 2005/02/24 20:09:08
Line 36 
Line 36 
 //              Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com) //              Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com)
 //              Jair Santos, Hewlett-Packard Company (jair.santos@hp.com) //              Jair Santos, Hewlett-Packard Company (jair.santos@hp.com)
 //              Dan Gorey, IBM (djgorey@us.ibm.com) //              Dan Gorey, IBM (djgorey@us.ibm.com)
   //              Mateus Baur, Hewlett-Packard Company (mateus.baur@hp.com)
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 43 
Line 44 
 #include <process.h>    /* _beginthread, _endthread */ #include <process.h>    /* _beginthread, _endthread */
 #include <tchar.h> #include <tchar.h>
 #include <direct.h> #include <direct.h>
   #include <Pegasus/Common/MessageLoader.h> //l10n
   #include <Pegasus/Common/Thread.h>  // l10n
  
 #include "service.cpp" #include "service.cpp"
  
Line 59 
Line 62 
 //------------------------------------------------------------------------- //-------------------------------------------------------------------------
 // GLOBALS // GLOBALS
 //------------------------------------------------------------------------- //-------------------------------------------------------------------------
 CIMServer *server_windows;  static Mutex _cimserverLock;
   static CIMServer *server_windows = 0;
   static bool _shutdown = false;
 static Service pegasus_service(PEGASUS_SERVICE_NAME); static Service pegasus_service(PEGASUS_SERVICE_NAME);
 static HANDLE pegasus_service_event;  static HANDLE pegasus_service_event = NULL;
 static LPCSTR g_cimservice_key  = TEXT("SYSTEM\\CurrentControlSet\\Services\\%s"); static LPCSTR g_cimservice_key  = TEXT("SYSTEM\\CurrentControlSet\\Services\\%s");
 static LPCSTR g_cimservice_home = TEXT("home"); static LPCSTR g_cimservice_home = TEXT("home");
  
Line 102 
Line 107 
   ConfigManager::setPegasusHome(pegasusHome);   ConfigManager::setPegasusHome(pegasusHome);
  
   ConfigManager* configManager = ConfigManager::getInstance();   ConfigManager* configManager = ConfigManager::getInstance();
     configManager->useConfigFiles = true;
   int dummy = 0;   int dummy = 0;
  
   try   try
Line 203 
Line 209 
    // try loop to bind the address, and run the server    // try loop to bind the address, and run the server
   try   try
   {   {
     Monitor monitor(true);      Monitor monitor;
  
     CIMServer server(&monitor);     CIMServer server(&monitor);
     server_windows = &server;     server_windows = &server;


Legend:
Removed from v.1.11  
changed lines
  Added in v.1.13

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2