2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

add method for isc_socket_getfd

This commit is contained in:
Mark Andrews
2011-08-24 23:17:52 +00:00
parent 8a7bf4a907
commit b62c2acf81
3 changed files with 15 additions and 4 deletions

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: socket.c,v 1.345 2011/08/23 17:02:53 each Exp $ */
/* $Id: socket.c,v 1.346 2011/08/24 23:17:52 marka Exp $ */
/*! \file */
@@ -553,6 +553,8 @@ ISC_SOCKETFUNC_SCOPE isc_result_t
isc__socket_fdwatchpoke(isc_socket_t *sock, int flags);
ISC_SOCKETFUNC_SCOPE isc_result_t
isc__socket_dup(isc_socket_t *sock, isc_socket_t **socketp);
ISC_SOCKETFUNC_SCOPE int
isc__socket_getfd(isc_socket_t *sock);
static struct {
isc_socketmethods_t methods;
@@ -577,7 +579,8 @@ static struct {
isc__socket_gettype,
isc__socket_ipv6only,
isc__socket_fdwatchpoke,
isc__socket_dup
isc__socket_dup,
isc__socket_getfd
}
#ifndef BIND9
,