1 .\" $Id: ares_free_hostent.3,v 1.1 1998/08/13 18:07:30 ghudson Exp $
3 .\" Copyright 1998 by the Massachusetts Institute of Technology.
5 .\" Permission to use, copy, modify, and distribute this
6 .\" software and its documentation for any purpose and without
7 .\" fee is hereby granted, provided that the above copyright
8 .\" notice appear in all copies and that both that copyright
9 .\" notice and this permission notice appear in supporting
10 .\" documentation, and that the name of M.I.T. not be used in
11 .\" advertising or publicity pertaining to distribution of the
12 .\" software without specific, written prior permission.
13 .\" M.I.T. makes no representations about the suitability of
14 .\" this software for any purpose. It is provided "as is"
15 .\" without express or implied warranty.
17 .TH ARES_FREE_HOSTENT 3 "23 July 1998"
19 ares_free_hostent \- Free host structure allocated by ares functions
24 .B void ares_free_hostent(struct hostent *\fIhost\fP)
31 allocated by one of the functions
34 .IR ares_parse_ptr_reply .
36 .BR ares_parse_a_reply (3),
37 .BR ares_parse_ptr_reply (3)
39 It is not necessary (and is not correct) to free the host structure
40 passed to the callback functions for
43 .IR ares_gethostbyaddr .
44 The ares library will automatically free such host structures when the
47 Greg Hudson, MIT Information Systems
49 Copyright 1998 by the Massachusetts Institute of Technology.