bind9/lib/isc/include/isc
Evan Hunt 1926ddc987 change ISC__BUFFER macros to inline functions
previously, when ISC_BUFFER_USEINLINE was defined, macros were
used to implement isc_buffer primitives (isc_buffer_init(),
isc_buffer_region(), etc). these macros were missing the DbC
assertions for those primitives, which made it possible for
coding errors to go undetected.

adding the assertions to the macros caused compiler warnings on
some platforms. therefore, this commit converts the ISC__BUFFER
macros to static inline functions instead, with assertions included,
and eliminates the non-inline implementation from buffer.c.

the --enable-buffer-useinline configure option has been removed.
2022-09-26 23:49:27 -07:00
..
aes.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
align.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ascii.h Use the semantic patch to do the unsigned -> unsigned int change 2022-09-19 15:56:02 +02:00
assertions.h Replace ISC_NORETURN with C11's noreturn 2022-03-25 08:33:43 +01:00
astack.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
async.h New event loop handling API 2022-08-25 12:24:29 +02:00
atomic.h REQUIRE should not have side effects 2022-07-05 12:22:55 -07:00
attributes.h Replace ISC_NORETURN with C11's noreturn 2022-03-25 08:33:43 +01:00
backtrace.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
barrier.h Improve reporting for barrier errors 2022-07-13 13:19:32 +02:00
base32.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
base64.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
bind9.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
buffer.h change ISC__BUFFER macros to inline functions 2022-09-26 23:49:27 -07:00
cmocka.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
commandline.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
condition.h Fix error reporting for POSIX Threads functions 2022-09-09 20:25:47 +02:00
counter.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
crc64.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
deprecated.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dir.h Update clang to version 14 2022-06-16 17:21:11 +02:00
endian.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
entropy.h Switch the CSPRNG function from RAND_bytes() to uv_random() 2022-09-26 15:13:11 +02:00
errno.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
error.h Replace ISC_NORETURN with C11's noreturn 2022-03-25 08:33:43 +01:00
event.h Simplify the isc_event API 2022-08-25 12:24:25 +02:00
eventclass.h Remove the isc_app API 2022-08-26 09:09:25 +02:00
file.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
formatcheck.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
fsaccess.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
fuzz.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
glob.h Update clang to version 14 2022-06-16 17:21:11 +02:00
hash.h Turn isc_hash_bits32() into static online function 2022-04-01 23:04:24 +02:00
heap.h Make isc_heap_create() and isc_heap_insert() return void 2022-03-08 11:19:34 +01:00
hex.h Consolidate some ASCII tables in isc/ascii and isc/hex 2022-09-12 12:18:57 +01:00
hmac.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ht.h Make isc_ht optionally case insensitive 2022-03-28 15:02:18 -07:00
httpd.h Update clang to version 14 2022-06-16 17:21:11 +02:00
interfaceiter.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
iterated_hash.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
job.h New event loop handling API 2022-08-25 12:24:29 +02:00
lang.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
lex.h Update clang to version 14 2022-06-16 17:21:11 +02:00
list.h Replace netievent lock-free queue with simple locked queue 2022-03-04 13:49:51 +01:00
log.h Update clang to version 14 2022-06-16 17:21:11 +02:00
loop.h Convert isc_ratelimiter API to use on-loop timers 2022-09-21 14:25:33 -07:00
magic.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
managers.h Update netmgr, tasks, and applications to use isc_loopmgr 2022-08-26 09:09:24 +02:00
md.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
mem.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
meminfo.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
mutex.h Fix error reporting for POSIX Threads functions 2022-09-09 20:25:47 +02:00
mutexblock.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
net.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
netaddr.h update dlz_minimal.h 2022-01-27 15:48:50 -08:00
netdb.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
netmgr.h Cleanup the asychronous code in the stream implementations 2022-09-22 14:51:15 +02:00
netscope.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
nonce.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
offset.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
once.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
os.h Use detected cache line size 2022-01-27 13:02:23 +01:00
parseint.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
portset.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
print.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
quota.h Update clang to version 14 2022-06-16 17:21:11 +02:00
radix.h Update clang to version 14 2022-06-16 17:21:11 +02:00
random.h Make isc_random_uniform() nearly divisionless 2022-04-22 16:40:37 +01:00
ratelimiter.h Convert isc_ratelimiter API to use on-loop timers 2022-09-21 14:25:33 -07:00
refcount.h New event loop handling API 2022-08-25 12:24:29 +02:00
regex.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
region.h Update clang to version 14 2022-06-16 17:21:11 +02:00
resource.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
result.h Add ISC_R_TLSBADPEERCERT error code to the TLS related code 2022-03-28 15:32:30 +03:00
rwlock.h Fix error reporting for POSIX Threads functions 2022-09-09 20:25:47 +02:00
safe.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
serial.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
signal.h New event loop handling API 2022-08-25 12:24:29 +02:00
siphash.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
sockaddr.h update dlz_minimal.h 2022-01-27 15:48:50 -08:00
stat.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
stats.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
stdatomic.h Remove usage of deprecated ATOMIC_VAR_INIT() macro 2022-03-08 23:55:10 +01:00
stdio.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
stdtime.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
strerr.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
string.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
symtab.h Update clang to version 14 2022-06-16 17:21:11 +02:00
syslog.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
task.h Update netmgr, tasks, and applications to use isc_loopmgr 2022-08-26 09:09:24 +02:00
thread.h Update clang to version 14 2022-06-16 17:21:11 +02:00
tid.h New event loop handling API 2022-08-25 12:24:29 +02:00
time.h Implement isc_interval_t on top of isc_time_t 2022-03-14 13:00:05 -07:00
timer.h Add isc_timer_async_destroy() helper function 2022-09-21 14:25:33 -07:00
tls.h Update clang to version 14 2022-06-16 17:21:11 +02:00
tm.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
types.h Remove the isc_app API 2022-08-26 09:09:25 +02:00
url.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
utf8.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
util.h Fix error reporting for POSIX Threads functions 2022-09-09 20:25:47 +02:00
uv.h New event loop handling API 2022-08-25 12:24:29 +02:00
work.h New event loop handling API 2022-08-25 12:24:29 +02:00