2a43f22095
Chris Demetriou <cgd@pa.dec.com>.
35 lines
573 B
C
35 lines
573 B
C
/* $NetBSD: __res_send.c,v 1.4 1997/11/04 23:52:41 thorpej Exp $ */
|
|
|
|
/*
|
|
* written by matthew green, 22/04/97.
|
|
* public domain.
|
|
*/
|
|
|
|
#include <sys/cdefs.h>
|
|
|
|
#ifdef __indr_reference
|
|
__indr_reference(__res_send,res_send)
|
|
#else
|
|
|
|
#include <sys/types.h>
|
|
#include <netinet/in.h>
|
|
#include <resolv.h>
|
|
|
|
/* XXX THIS IS A MESS! SEE <resolv.h> XXX */
|
|
|
|
#undef res_send
|
|
int res_send __P((const u_char *, int, u_char *, int));
|
|
|
|
int
|
|
res_send(buf, buflen, ans, anssiz)
|
|
const u_char *buf;
|
|
int buflen;
|
|
u_char *ans;
|
|
int anssiz;
|
|
{
|
|
|
|
return __res_send(buf, buflen, ans, anssiz);
|
|
}
|
|
|
|
#endif
|