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

Diff for /src/include/netdb.h between version 1.24 and 1.25

version 1.24, 2005/06/08 18:32:32 version 1.25, 2005/12/13 00:35:22
Line 88 
Line 88 
 #define _NETDB_H_  #define _NETDB_H_
   
 #include <sys/param.h>  #include <sys/param.h>
 #if (!defined(BSD)) || (BSD < 199306)  
 # include <sys/bitypes.h>  
 #endif  
 #include <sys/cdefs.h>  #include <sys/cdefs.h>
   
 #define _PATH_HEQUIV    "/etc/hosts.equiv"  #define _PATH_HEQUIV    "/etc/hosts.equiv"
Line 236 
Line 233 
         struct rdatainfo        *rri_sigs;      /* individual signatures */          struct rdatainfo        *rri_sigs;      /* individual signatures */
 };  };
   
 #ifndef POSIX_SOURCE  #if __BSD_VISIBLE
 struct servent_data {  struct servent_data {
         void *fp;          void *fp;
         char **aliases;          char **aliases;
Line 258 
Line 255 
 void            endhostent(void);  void            endhostent(void);
 void            endnetent(void);  void            endnetent(void);
 void            endprotoent(void);  void            endprotoent(void);
 #ifndef POSIX_SOURCE  #if __BSD_VISIBLE
 void            endprotoent_r(struct protoent_data *);  void            endprotoent_r(struct protoent_data *);
 #endif  #endif
 void            endservent(void);  void            endservent(void);
 #ifndef POSIX_SOURCE  #if __BSD_VISIBLE
 void            endservent_r(struct servent_data *);  void            endservent_r(struct servent_data *);
 #endif  #endif
 struct hostent  *gethostbyaddr(const void *, socklen_t, int);  struct hostent  *gethostbyaddr(const void *, socklen_t, int);
Line 275 
Line 272 
 struct protoent *getprotobyname(const char *);  struct protoent *getprotobyname(const char *);
 struct protoent *getprotobynumber(int);  struct protoent *getprotobynumber(int);
 struct protoent *getprotoent(void);  struct protoent *getprotoent(void);
 #ifndef POSIX_SOURCE  #if __BSD_VISIBLE
 int             getprotobyname_r(const char *, struct protoent *,  int             getprotobyname_r(const char *, struct protoent *,
                     struct protoent_data *);                      struct protoent_data *);
 int             getprotobynumber_r(int, struct protoent *,  int             getprotobynumber_r(int, struct protoent *,
Line 285 
Line 282 
 struct servent  *getservbyname(const char *, const char *);  struct servent  *getservbyname(const char *, const char *);
 struct servent  *getservbyport(int, const char *);  struct servent  *getservbyport(int, const char *);
 struct servent  *getservent(void);  struct servent  *getservent(void);
 #ifndef POSIX_SOURCE  #if __BSD_VISIBLE
 int             getservbyname_r(const char *, const char *, struct servent *,  int             getservbyname_r(const char *, const char *, struct servent *,
                     struct servent_data *);                      struct servent_data *);
 int             getservbyport_r(int, const char *, struct servent *,  int             getservbyport_r(int, const char *, struct servent *,
Line 298 
Line 295 
 /* void         sethostfile(const char *); */  /* void         sethostfile(const char *); */
 void            setnetent(int);  void            setnetent(int);
 void            setprotoent(int);  void            setprotoent(int);
 #ifndef POSIX_SOURCE  #if __BSD_VISIBLE
 void            setprotoent_r(int, struct protoent_data *);  void            setprotoent_r(int, struct protoent_data *);
 #endif  #endif
 void            setservent(int);  void            setservent(int);
 #ifndef POSIX_SOURCE  #if __BSD_VISIBLE
 void            setservent_r(int, struct servent_data *);  void            setservent_r(int, struct servent_data *);
 #endif  #endif
   

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25