ares.h   ares.h 
/* $Id: ares.h,v 1.1 1998/08/13 18:07:55 ghudson Exp $ */ /* $Id: ares.h,v 1.2 2000/01/05 16:29:43 ghudson Exp $ */
/* Copyright 1998 by the Massachusetts Institute of Technology. /* Copyright 1998 by the Massachusetts Institute of Technology.
* *
* Permission to use, copy, modify, and distribute this * Permission to use, copy, modify, and distribute this
* software and its documentation for any purpose and without * software and its documentation for any purpose and without
* fee is hereby granted, provided that the above copyright * fee is hereby granted, provided that the above copyright
* notice appear in all copies and that both that copyright * notice appear in all copies and that both that copyright
* notice and this permission notice appear in supporting * notice and this permission notice appear in supporting
* documentation, and that the name of M.I.T. not be used in * documentation, and that the name of M.I.T. not be used in
* advertising or publicity pertaining to distribution of the * advertising or publicity pertaining to distribution of the
skipping to change at line 119 skipping to change at line 119
void ares_process(ares_channel channel, fd_set *read_fds, fd_set *write_fds ); void ares_process(ares_channel channel, fd_set *read_fds, fd_set *write_fds );
int ares_mkquery(const char *name, int c_class, int type, unsigned short id , int ares_mkquery(const char *name, int c_class, int type, unsigned short id ,
int rd, unsigned char **buf, int *buflen); int rd, unsigned char **buf, int *buflen);
int ares_expand_name(const unsigned char *encoded, const unsigned char *abu f, int ares_expand_name(const unsigned char *encoded, const unsigned char *abu f,
int alen, char **s, int *enclen); int alen, char **s, int *enclen);
int ares_parse_a_reply(const unsigned char *abuf, int alen, int ares_parse_a_reply(const unsigned char *abuf, int alen,
struct hostent **host); struct hostent **host);
int ares_parse_ptr_reply(const unsigned char *abuf, int alen, const void *a ddr, int ares_parse_ptr_reply(const unsigned char *abuf, int alen, const void *a ddr,
int addrlen, int family, struct hostent **host); int addrlen, int family, struct hostent **host);
void ares_free_string(char *str);
void ares_free_hostent(struct hostent *host); void ares_free_hostent(struct hostent *host);
const char *ares_strerror(int code, char **memptr); const char *ares_strerror(int code, char **memptr);
void ares_free_errmem(char *mem); void ares_free_errmem(char *mem);
#endif /* ARES__H */ #endif /* ARES__H */
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/