2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

add isc_socket_gettype()

This commit is contained in:
Michael Graff
1999-06-25 01:36:52 +00:00
parent 4c208bd46f
commit b456d80637
2 changed files with 20 additions and 2 deletions

View File

@@ -2823,3 +2823,11 @@ isc_socket_sendmark(isc_socket_t *sock,
return (ISC_R_SUCCESS);
}
isc_sockettype_t
isc_socket_gettype(isc_socket_t *sock)
{
REQUIRE(VALID_SOCKET(sock));
return (sock->type);
}