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

Diff for /pegasus/src/Pegasus/Common/SystemWindows.cpp between version 1.15 and 1.16

version 1.15, 2002/01/17 05:33:49 version 1.16, 2002/02/20 23:12:05
Line 40 
Line 40 
 #include <direct.h> #include <direct.h>
 #include <sys/stat.h> #include <sys/stat.h>
 #include <sys/types.h> #include <sys/types.h>
   #include <winsock.h>
  
 #define ACCESS_EXISTS 0 #define ACCESS_EXISTS 0
 #define ACCESS_WRITE 2 #define ACCESS_WRITE 2
Line 170 
Line 171 
     return hostname;     return hostname;
 } }
  
   Uint32 System::lookupPort(
       const char * serviceName,
       Uint32 defaultPort)
   {
       Uint32 localPort;
   
       struct servent *serv;
   
       //
       // Get wbem-local port from /etc/services
       //
       if (  (serv = getservbyname(serviceName, TCP)) != NULL )
       {
           localPort = serv->s_port;
       }
       else
       {
           localPort = defaultPort;
       }
   
       return localPort;
   }
   
 String System::getPassword(const char* prompt) String System::getPassword(const char* prompt)
 { {
     //ATTN: Implement this method to get password from User with no echo     //ATTN: Implement this method to get password from User with no echo


Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2