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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user