resolv.h revision 1.1
1/* $OpenBSD: resolv.h,v 1.1 2015/10/05 02:57:16 guenther Exp $ */ 2/* 3 * Copyright (c) 2015 Philip Guenther <guenther@openbsd.org> 4 * 5 * Permission to use, copy, modify, and distribute this software for any 6 * purpose with or without fee is hereby granted, provided that the above 7 * copyright notice and this permission notice appear in all copies. 8 * 9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 */ 17 18#ifndef _LIBC_RESOLV_H_ 19#define _LIBC_RESOLV_H_ 20 21#include_next <resolv.h> 22 23PROTO_STD_DEPRECATED(__b64_ntop); 24PROTO_STD_DEPRECATED(__b64_pton); 25PROTO_STD_DEPRECATED(__dn_comp); 26PROTO_STD_DEPRECATED(__dn_skipname); 27PROTO_NORMAL(__p_class); 28PROTO_NORMAL(__p_type); 29PROTO_STD_DEPRECATED(__putlong); 30PROTO_STD_DEPRECATED(__putshort); 31PROTO_STD_DEPRECATED(__res_dnok); 32PROTO_NORMAL(__res_hnok); 33PROTO_STD_DEPRECATED(__res_mailok); 34PROTO_STD_DEPRECATED(__res_ownok); 35PROTO_NORMAL(__res_randomid); 36PROTO_STD_DEPRECATED(__res_send); 37PROTO_NORMAL(__sym_ntos); 38 39PROTO_NORMAL(dn_expand); 40PROTO_NORMAL(res_init); 41PROTO_DEPRECATED(res_mkquery); 42PROTO_NORMAL(res_query); 43PROTO_DEPRECATED(res_querydomain); 44PROTO_DEPRECATED(res_search); 45 46#endif /* !_LIBC_RESOLV_H_ */ 47