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

Diff for /src/include/netdb.h between version 1.19 and 1.20

version 1.19, 2004/04/14 07:06:15 version 1.20, 2004/10/17 20:24:23
Line 237 
Line 237 
         struct rdatainfo        *rri_sigs;      /* individual signatures */          struct rdatainfo        *rri_sigs;      /* individual signatures */
 };  };
   
   #ifndef POSIX_SOURCE
   struct __sFILE;
   
   struct servent_data {
           struct __sFILE *fp;
           char **aliases;
           int maxaliases;
           int stayopen;
           char *line;
   };
   
   struct protoent_data {
           struct __sFILE *fp;
           char **aliases;
           int maxaliases;
           int stayopen;
           char *line;
   };
   #endif
   
 __BEGIN_DECLS  __BEGIN_DECLS
 void            endhostent(void);  void            endhostent(void);
 void            endnetent(void);  void            endnetent(void);
 void            endprotoent(void);  void            endprotoent(void);
   #ifndef POSIX_SOURCE
   void            endprotoent_r(struct protoent_data *);
   #endif
 void            endservent(void);  void            endservent(void);
   #ifndef POSIX_SOURCE
   void            endservent_r(struct servent_data *);
   #endif
 struct hostent  *gethostbyaddr(const char *, int, int);  struct hostent  *gethostbyaddr(const char *, int, int);
 struct hostent  *gethostbyname(const char *);  struct hostent  *gethostbyname(const char *);
 struct hostent  *gethostbyname2(const char *, int);  struct hostent  *gethostbyname2(const char *, int);
Line 252 
Line 278 
 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
   struct protoent *getprotobyname_r(const char *, struct protoent *,
                       struct protoent_data *);
   struct protoent *getprotobynumber_r(int, struct protoent *,
                       struct protoent_data *);
   struct protoent *getprotoent_r(struct protoent *, struct protoent_data *);
   #endif
 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
   struct servent  *getservbyname_r(const char *, const char *, struct servent *,
                       struct servent_data *);
   struct servent  *getservbyport_r(int, const char *, struct servent *,
                       struct servent_data *);
   struct servent  *getservent_r(struct servent *, struct servent_data *);
   #endif
 void            herror(const char *);  void            herror(const char *);
 const char      *hstrerror(int);  const char      *hstrerror(int);
 void            sethostent(int);  void            sethostent(int);
 /* void         sethostfile(const char *); */  /* void         sethostfile(const char *); */
 void            setnetent(int);  void            setnetent(int);
 void            setprotoent(int);  void            setprotoent(int);
   #ifndef POSIX_SOURCE
   void            setprotoent_r(int, struct protoent_data *);
   #endif
 void            setservent(int);  void            setservent(int);
   #ifndef POSIX_SOURCE
   void            setservent_r(int, struct servent_data *);
   #endif
   
 int             getaddrinfo(const char *, const char *,  int             getaddrinfo(const char *, const char *,
                     const struct addrinfo *, struct addrinfo **);                      const struct addrinfo *, struct addrinfo **);

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20