xref: /openbsd-src/lib/libc/hidden/asr.h (revision af4d66b37c7394d6b39d0566d15c37785a0448b1)
1*af4d66b3Sotto /*	$OpenBSD: asr.h,v 1.4 2019/10/24 05:57:42 otto Exp $	*/
25826fd8cSguenther /*
35826fd8cSguenther  * Copyright (c) 2015 Philip Guenther <guenther@openbsd.org>
45826fd8cSguenther  *
55826fd8cSguenther  * Permission to use, copy, modify, and distribute this software for any
65826fd8cSguenther  * purpose with or without fee is hereby granted, provided that the above
75826fd8cSguenther  * copyright notice and this permission notice appear in all copies.
85826fd8cSguenther  *
95826fd8cSguenther  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
105826fd8cSguenther  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
115826fd8cSguenther  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
125826fd8cSguenther  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
135826fd8cSguenther  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
145826fd8cSguenther  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
155826fd8cSguenther  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
165826fd8cSguenther  */
175826fd8cSguenther 
185826fd8cSguenther #ifndef _LIBC_ASR_H_
195826fd8cSguenther #define _LIBC_ASR_H_
205826fd8cSguenther 
215826fd8cSguenther #include_next <asr.h>
225826fd8cSguenther 
235826fd8cSguenther PROTO_DEPRECATED(asr_abort);
24*af4d66b3Sotto PROTO_NORMAL(asr_resolver_from_string);
25*af4d66b3Sotto PROTO_NORMAL(asr_resolver_free);
265826fd8cSguenther PROTO_NORMAL(asr_run);
275826fd8cSguenther PROTO_NORMAL(asr_run_sync);
285826fd8cSguenther PROTO_NORMAL(getaddrinfo_async);
295826fd8cSguenther PROTO_NORMAL(gethostbyaddr_async);
305826fd8cSguenther PROTO_NORMAL(gethostbyname2_async);
315826fd8cSguenther PROTO_NORMAL(gethostbyname_async);
325826fd8cSguenther PROTO_NORMAL(getnameinfo_async);
335826fd8cSguenther PROTO_NORMAL(getnetbyaddr_async);
345826fd8cSguenther PROTO_NORMAL(getnetbyname_async);
355826fd8cSguenther PROTO_NORMAL(getrrsetbyname_async);
365826fd8cSguenther PROTO_NORMAL(res_query_async);
375826fd8cSguenther PROTO_NORMAL(res_search_async);
385826fd8cSguenther PROTO_NORMAL(res_send_async);
395826fd8cSguenther 
405826fd8cSguenther #endif	/* _LIBC_ASR_H_ */
41