bind9/lib/isc/include
Witold Kręcicki d151a10f30 Add a quota attach function with a callback, some code cleanups.
We introduce a isc_quota_attach_cb function - if ISC_R_QUOTA is returned
at the time the function is called, then a callback will be called when
there's quota available (with quota already attached). The callbacks are
organized as a LIFO queue in the quota structure.
It's needed for TCP client quota -  with old networking code we had one
single place where tcp clients quota was processed so we could resume
accepting when the we had spare slots, but it's gone with netmgr - now
we need to notify the listener/accepter that there's quota available so
that it can resume accepting.

Remove unused isc_quota_force() function.

The isc_quote_reserve and isc_quota_release were used only internally
from the quota.c and the tests.  We should not expose API we are not
using.
2020-03-30 07:43:10 +00:00
..
isc Add a quota attach function with a callback, some code cleanups. 2020-03-30 07:43:10 +00:00
pk11 fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
pkcs11 apply the modified style 2020-02-13 15:05:06 -08:00
.clang-format Add separate .clang-format files for headers 2020-02-14 09:31:05 +01:00
Makefile.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00