diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-18 00:36:23 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-18 00:36:23 +0000 |
commit | a29dae8e266f99f049cb63e78bff0d288bdc2881 (patch) | |
tree | 7d2aa84d66cddb0330bf183a475d80d4b80c3e5c /lib/libc/hidden | |
parent | ccc784f0b63eadcbee59283f457a2450f97b00df (diff) |
create libc stubs for dnssocket() and dnsconnect()
Diffstat (limited to 'lib/libc/hidden')
-rw-r--r-- | lib/libc/hidden/arpa/nameser.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libc/hidden/arpa/nameser.h b/lib/libc/hidden/arpa/nameser.h index a7155a21a7e..9aaa7783366 100644 --- a/lib/libc/hidden/arpa/nameser.h +++ b/lib/libc/hidden/arpa/nameser.h @@ -1,4 +1,4 @@ -/* $OpenBSD: nameser.h,v 1.1 2015/09/13 21:36:08 guenther Exp $ */ +/* $OpenBSD: nameser.h,v 1.2 2015/10/18 00:36:22 deraadt Exp $ */ /* * Copyright (c) 2015 Philip Guenther <guenther@openbsd.org> * @@ -20,7 +20,13 @@ #include_next <arpa/nameser.h> +int dnssocket(int, int, int); +int dnsconnect(int, const struct sockaddr *, socklen_t); + PROTO_NORMAL(_getshort); PROTO_NORMAL(_getlong); +PROTO_HIDDEN(dnssocket); +PROTO_HIDDEN(dnsconnect); + #endif /* !_LIBC_NAMESER_H_ */ |