(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.65 and 1.66

version 1.65, 2006/10/04 19:37:09 version 1.66, 2006/10/31 19:47:32
Line 146 
Line 146 
      */      */
     static Boolean sameHost (const String & hostName);     static Boolean sameHost (const String & hostName);
  
       /**
        *  Attempts to find the given IP address(32bit) on any of the local defined
        *  network interfaces
        */
       static Boolean isIpOnNetworkInterface(Uint32 inIP);
   
       /**
        *  Attempts to resolve a given hostname
        *  this function possibly can take some as it can request information
        *  from the DNS
        *
        *  Return: return value == true if successful, false if not successful
        *          the IP address that was determined resides in resolvedNameIP
        */
       static Boolean resolveHostNameAtDNS(const char* hostname, Uint32 * resolvedNameIP);
   
       /**
        *  Attempts to resolve a given IP address
        *  this function possibly can take some as it can request information
        *  from the DNS
        *  Return: return value == true if successful, false if not successful
        *          the IP address that was determined resides in resolvedNameIP
        */
       static Boolean resolveIPAtDNS(Uint32 ip_addr, Uint32 * resolvedIP);
   
       /**
        * Bundling function used to determine if a given hostname or IP address
        * belongs to the local host
        * this function has the potential to take some time as it will possibly
        * use the DNS
        */
       static Boolean isLocalHost(const String &hostName);
   
     static String getEffectiveUserName();     static String getEffectiveUserName();
  
     /**     /**


Legend:
Removed from v.1.65  
changed lines
  Added in v.1.66

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2