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

Diff for /pegasus/src/Pegasus/Common/System.h between version 1.70 and 1.71

version 1.70, 2007/06/05 09:42:28 version 1.71, 2007/06/26 20:26:13
Line 123 
Line 123 
     static String getHostName();     static String getHostName();
     static String getFullyQualifiedHostName ();     static String getFullyQualifiedHostName ();
     static String getSystemCreationClassName ();     static String getSystemCreationClassName ();
     static String getHostIP(const String &hostName);  
  
     static Uint32 _acquireIP(const char* hostname);      // Gets IP address assosiated with hostName. af indicates the
       // type of address (ipv4 or ipv6) returned.
       static Boolean getHostIP(const String &hostName, int *af, String &hostIP);
   
       // Gets IP address in binary form. af indicates the type of
       // address (ipv4 or ipv6) returned. Address will be copied to dst.
       static Boolean _acquireIP(const char* hostname, int *af, void *dst);
  
     static Uint32 lookupPort(     static Uint32 lookupPort(
         const char * serviceName,         const char * serviceName,
         Uint32 defaultPort);         Uint32 defaultPort);
  
     /**     /**
         Attempts to validate that the input hostName represents the same host as  
         the host represented by the value returned by the  
         getFullyQualifiedHostName() method.  
   
         @param  hostName  the host name to validate  
   
         @return  True if the input hostName can be validated to represent the  
                  same host;  
                  False otherwise  
      */  
     static Boolean sameHost (const String & hostName);  
   
     /**  
         Attempts to find the given IP address(32bit) on any of the local defined         Attempts to find the given IP address(32bit) on any of the local defined
         network interfaces         network interfaces
      */      */
Line 181 
Line 173 
      */      */
     static Boolean isLocalHost(const String& hostName);     static Boolean isLocalHost(const String& hostName);
  
       /**
           Checks binIPAddress represented by address family and returns true
           if binary representation matches with loopback ip address. binIPAddress
           must be in host-byte order.
       */
       static Boolean isLoopBack(int af, void *binIPAddress);
   
     static String getEffectiveUserName();     static String getEffectiveUserName();
  
     /**     /**


Legend:
Removed from v.1.70  
changed lines
  Added in v.1.71

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2