mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Refactor isc_nm_xfr_allowed()
Return 'isc_result_t' type value instead of 'bool' to indicate the actual failure. Rename the function to something not suggesting a boolean type result. Make changes in the places where the API function is being used to check for the result code instead of a boolean value.
This commit is contained in:
@@ -1666,8 +1666,8 @@ isc__nm_streamdns_verify_tls_peer_result_string(const isc_nmhandle_t *handle);
|
||||
void
|
||||
isc__nm_streamdns_set_tlsctx(isc_nmsocket_t *listener, isc_tlsctx_t *tlsctx);
|
||||
|
||||
bool
|
||||
isc__nm_streamdns_xfr_allowed(isc_nmsocket_t *sock);
|
||||
isc_result_t
|
||||
isc__nm_streamdns_xfr_checkperm(isc_nmsocket_t *sock);
|
||||
|
||||
void
|
||||
isc__nmsocket_streamdns_reset(isc_nmsocket_t *sock);
|
||||
|
Reference in New Issue
Block a user