bind9/lib/isc/include/isc
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
..
aes.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
app.h apply the modified style 2020-02-13 15:05:06 -08:00
assertions.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
astack.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
atomic.h Added atomic_compare_exchange_strong_acq_rel macro 2020-02-16 18:09:19 +01:00
backtrace.h Improve the backtrace to print symbols when backtrace_symbols() is available 2020-03-11 20:32:21 +01:00
base32.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
base64.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
bind9.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
buffer.h fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
bufferlist.h Use clang-tidy to add curly braces around one-line statements 2020-02-13 22:07:21 +01:00
commandline.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
counter.h Use clang-tidy to add curly braces around one-line statements 2020-02-13 22:07:21 +01:00
crc64.h Replace custom isc_u?intNN_t types with C99 u?intNN_t types 2018-08-08 09:37:28 +02:00
deprecated.h Use clang-tidy to add curly braces around one-line statements 2020-02-13 22:07:21 +01:00
endian.h Use clang-tidy to add curly braces around one-line statements 2020-02-13 22:07:21 +01:00
errno.h Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
error.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
event.h apply the modified style 2020-02-13 15:05:06 -08:00
eventclass.h apply the modified style 2020-02-13 15:05:06 -08:00
file.h Use clang-tidy to add curly braces around one-line statements 2020-02-13 22:07:21 +01:00
formatcheck.h Use clang-tidy to add curly braces around one-line statements 2020-02-13 22:07:21 +01:00
fsaccess.h fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
fuzz.h Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
glob.h Make clang-format happy 2020-02-25 09:07:45 +01:00
hash.h Remove isc_hash_reverse function 2019-05-21 10:23:17 +00:00
heap.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
hex.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
hmac.h Stop leaking OpenSSL types and defines in the isc/md.h 2020-03-17 09:11:13 +01:00
hp.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
ht.h Use clang-tidy to add curly braces around one-line statements 2020-02-13 22:07:21 +01:00
httpd.h apply the modified style 2020-02-13 15:05:06 -08:00
interfaceiter.h apply the modified style 2020-02-13 15:05:06 -08:00
iterated_hash.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
lang.h apply the modified style 2020-02-13 15:05:06 -08:00
lex.h fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
lfsr.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
lib.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
likely.h apply the modified style 2020-02-13 15:05:06 -08:00
list.h Fixup the missing clang-format bits 2020-02-16 17:34:24 +01:00
log.h Refactor the isc_log API so it cannot fail on memory failures 2020-03-18 09:05:59 +01:00
magic.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
Makefile.in Fix lists of installed header files 2020-03-05 23:09:51 +00:00
md.h Stop leaking OpenSSL types and defines in the isc/md.h 2020-03-17 09:11:13 +01:00
mem.h apply the modified style 2020-02-13 15:05:06 -08:00
meminfo.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
mutexatomic.h Use clang-tidy to add curly braces around one-line statements 2020-02-13 22:07:21 +01:00
mutexblock.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
netaddr.h fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
netmgr.h netmgr refactoring: use generic functions when operating on sockets. 2020-03-24 20:31:43 +00:00
netscope.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
nonce.h Replace custom isc_u?intNN_t types with C99 u?intNN_t types 2018-08-08 09:37:28 +02:00
os.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
parseint.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
platform.h.in Add and use ISC_THREAD_LOCAL macro 2019-12-03 16:27:24 +01:00
pool.h Use clang-tidy to add curly braces around one-line statements 2020-02-13 22:07:21 +01:00
portset.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
print.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
queue.h implement fetch-and-add array queue data structure 2019-11-07 11:55:37 -08:00
quota.h Add a quota attach function with a callback, some code cleanups. 2020-03-30 07:43:10 +00:00
radix.h apply the modified style 2020-02-13 15:05:06 -08:00
random.h Replace custom isc_u?intNN_t types with C99 u?intNN_t types 2018-08-08 09:37:28 +02:00
ratelimiter.h Use clang-tidy to add curly braces around one-line statements 2020-02-13 22:07:21 +01:00
refcount.h fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
regex.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
region.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
resource.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
result.h apply the modified style 2020-02-13 15:05:06 -08:00
resultclass.h apply the modified style 2020-02-13 15:05:06 -08:00
rwlock.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
safe.h Stop leaking OpenSSL types and defines in the isc/safe.h 2020-03-12 20:07:16 +01:00
serial.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
siphash.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
sockaddr.h Use clang-tidy to add curly braces around one-line statements 2020-02-13 22:07:21 +01:00
socket.h fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
stats.h fix spelling errors reported by Fossies. 2020-02-21 15:05:08 +11:00
stdio.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
strerr.h Use clang-tidy to add curly braces around one-line statements 2020-02-13 22:07:21 +01:00
string.h Use clang-tidy to add curly braces around one-line statements 2020-02-13 22:07:21 +01:00
symtab.h Use clang-tidy to add curly braces around one-line statements 2020-02-13 22:07:21 +01:00
task.h apply the modified style 2020-02-13 15:05:06 -08:00
taskpool.h Use clang-tidy to add curly braces around one-line statements 2020-02-13 22:07:21 +01:00
timer.h apply the modified style 2020-02-13 15:05:06 -08:00
tm.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00
types.h Remove support for internal symbol table 2020-03-11 11:13:52 +01:00
util.h apply the modified style 2020-02-13 15:05:06 -08:00
version.h Use clang-format to reformat the source files 2020-02-12 15:04:17 +01:00