(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.91 and 1.92

version 1.91, 2012/07/03 15:23:11 version 1.92, 2012/09/05 11:10:33
Line 201 
Line 201 
         char* buf = 0,         char* buf = 0,
         size_t buflen = 0);         size_t buflen = 0);
  
 #if defined(PEGASUS_OS_ZOS) || \  
     defined(PEGASUS_OS_VMS) || \  
     defined(PEGASUS_ENABLE_IPV6)  
  
     // The following 2 methods are wrappers around system functions     // The following 2 methods are wrappers around system functions
     // getaddrinfo/getnameinfo.     // getaddrinfo/getnameinfo.
     // In addition to calling corresponding system functions, these     // In addition to calling corresponding system functions, these
     // methods introduce re-tries on EAI_AGAIN error returns.     // methods introduce re-tries on EAI_AGAIN error returns.
       //
       // Callers are expected to call freeaddrinfo when using System::getAddrInfo
     static int getAddrInfo(     static int getAddrInfo(
         const char *hostname,         const char *hostname,
         const char *servname,         const char *servname,
Line 223 
Line 222 
         size_t servlen,         size_t servlen,
         int flags);         int flags);
  
 #endif  
   
     // Gets IP address assosiated with hostName. af indicates the     // Gets IP address assosiated with hostName. af indicates the
     // type of address (ipv4 or ipv6) returned.     // type of address (ipv4 or ipv6) returned.
     static Boolean getHostIP(const String &hostName, int *af, String &hostIP);     static Boolean getHostIP(const String &hostName, int *af, String &hostIP);


Legend:
Removed from v.1.91  
changed lines
  Added in v.1.92

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2