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

[9.20] rem: dev: Remove dns_qpmulti_lockedread declaration

This function was removed in 6217e434b5 but not from the header file.

Backport of MR !10308

Merge branch 'backport-matthijs-remove-unused-qpmulti-lockedread-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!10314
This commit is contained in:
Evan Hunt
2025-03-25 06:37:14 +00:00

View File

@@ -741,23 +741,6 @@ dns_qpmulti_query(dns_qpmulti_t *multi, dns_qpread_t *qpr);
* \li `qpr` is a valid read-only qp-trie handle
*/
void
dns_qpmulti_lockedread(dns_qpmulti_t *multi, dns_qpread_t *qpr);
/*%<
* Start a read-only transaction that takes the `dns_qpmulti_t` mutex.
*
* The `dns_qpmulti_lockedread()` function must NOT be called from an
* isc_loop thread. We keep query and read transactions separate to
* avoid accidentally taking or failing to take the mutex.
*
* Requires:
* \li `multi` is a pointer to a valid multi-threaded qp-trie
* \li `qpr != NULL`
*
* Returns:
* \li `qpr` is a valid read-only qp-trie handle
*/
void
dns_qpread_destroy(dns_qpmulti_t *multi, dns_qpread_t *qpr);
/*%<