-.\" $Id: ares_search.3,v 1.1 1998/08/13 18:07:35 ghudson Exp $
+.\" $Id: ares_search.3,v 1.2 2000/09/21 19:16:00 ghudson Exp $
.\"
.\" Copyright 1998 by the Massachusetts Institute of Technology.
.\"
.B unsigned char *\fIabuf\fP, int \fIalen\fP)
.PP
.B void ares_search(ares_channel \fIchannel\fP, const char *\fIname\fP,
-.B int \fIclass\fP, int \fItype\fP, ares_callback \fIcallback\fP,
+.B int \fIdnsclass\fP, int \fItype\fP, ares_callback \fIcallback\fP,
.B void *\fIarg\fP)
.fi
.SH DESCRIPTION
C string of period-separated labels; if it ends with a period, the
channel's search domains will not be used. Periods and backslashes
within a label must be escaped with a backslash. The parameters
-.I class
+.I dnsclass
and
.I type
give the class and type of the query using the values defined in