1/* $NetBSD: __res_send.c,v 1.3 2005/07/30 15:21:20 christos Exp $ */ 2 3/* 4 * written by matthew green, 22/04/97. 5 * public domain. 6 */ 7 8#include <sys/cdefs.h> 9#if defined(LIBC_SCCS) && !defined(lint) 10__RCSID("$NetBSD: __res_send.c,v 1.3 2005/07/30 15:21:20 christos Exp $"); 11#endif 12 13#if defined(__indr_reference) 14__indr_reference(__res_send, res_send) 15#else 16 17#include <sys/types.h> 18#include <netinet/in.h> 19#include <resolv.h> 20 21/* XXX THIS IS A MESS! SEE <resolv.h> XXX */ 22 23#undef res_send 24int res_send(const u_char *, int, u_char *, int); 25 26int 27res_send(const u_char *buf, int buflen, u_char *ans, int anssiz) 28{ 29 30 return __res_send(buf, buflen, ans, anssiz); 31} 32 33#endif 34