source: trunk/athena/lib/ares/ares_free_dns_message.3 @ 17867

Revision 17867, 1.3 KB checked in by ghudson, 22 years ago (diff)
Add a new function ares_parse_message() to parse a DNS packet without regard to its RR type (though domains will be uncompressed in the "well-known" packet types). Modify adig to use it.
Line 
1.\" $Id: ares_free_dns_message.3,v 1.1 2002-09-08 23:53:49 ghudson Exp $
2.\"
3.\" Copyright 2002 by the Massachusetts Institute of Technology.
4.\"
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.
16.\"
17.TH ARES_FREE_DNS_MESSAGE 3 "26 August 2002"
18.SH NAME
19ares_free_dns_message \- Free dns message structure allocated by ares functions
20.SH SYNOPSIS
21.nf
22.B #include <ares.h>
23.PP
24.B void ares_free_dns_message(struct ares_dns_message *\fIhost\fP)
25.fi
26.SH DESCRIPTION
27The
28.B ares_free_dns_message
29function frees a
30.B struct hostent
31allocated by
32.BR ares_parse_message .
33.SH SEE ALSO
34.BR ares_parse_message (3),
35.SH AUTHOR
36Greg Hudson, MIT Information Systems
37.br
38Copyright 2002 by the Massachusetts Institute of Technology.
Note: See TracBrowser for help on using the repository browser.