[BACK]Return to netdb.h CVS log [TXT][DIR] Up to [local] / src / include

Diff for /src/include/netdb.h between version 1.6 and 1.7

version 1.6, 1999/06/23 21:55:29 version 1.7, 1999/07/03 18:14:51
Line 149 
Line 149 
 #define NI_NAMEREQD     8       /* fail if either host or service name is unknown */  #define NI_NAMEREQD     8       /* fail if either host or service name is unknown */
 #define NI_DGRAM        16      /* look up datagram service instead of stream */  #define NI_DGRAM        16      /* look up datagram service instead of stream */
   
 #define NI_MAXHOST      MAXHOSTNAMELEN  /* max host name length returned by getnameinfo */  #define NI_MAXHOST      MAXHOSTNAMELEN  /* max host name returned by getnameinfo */
 #define NI_MAXSERV      32      /* max serv. name length returned by getnameinfo */  #define NI_MAXSERV      32      /* max serv. name length returned by getnameinfo */
   
 #define EAI_BADFLAGS    -1      /* invalid value for ai_flags */  #define EAI_BADFLAGS    -1      /* invalid value for ai_flags */
Line 208 
Line 208 
                     char *host, size_t hostlen, char *serv, size_t servlen,                      char *host, size_t hostlen, char *serv, size_t servlen,
                     int flags));                      int flags));
 char            *gai_strerror __P((int ecode));  char            *gai_strerror __P((int ecode));
   int             net_addrcmp __P((struct sockaddr *, struct sockaddr *));
 __END_DECLS  __END_DECLS
   
 /* This is nec'y to make this include file properly replace the sun version. */  /* This is nec'y to make this include file properly replace the sun version. */

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7