bind9/lib/isc/include/isc
Ondřej Surý 122a142241 Use constexpr for NS_PER_SEC and friends constants
The contexpr introduced in C23 standard makes perfect sense to be used
instead of preprocessor macros - the symbols are kept, etc.  Define
ISC_CONSTEXPR to be `constexpr` for C23 and `static const` for the older
C standards.  Use the newly introduced macro for the NS_PER_SEC and
friends time constants.
2024-08-19 09:08:55 +00:00
..
ascii.h Add a case-insensitive option directly to siphash 2-4 implementation 2022-10-04 10:32:40 +02:00
assertions.h use only c23 or c11 noreturn specifiers 2024-08-07 18:27:40 +03:00
async.h complete removal of isc_loop_current() 2024-04-02 10:35:56 +02:00
atomic.h Simple lock-free stack in <isc/stack.h> 2023-02-22 16:13:37 +00:00
attributes.h Use constexpr for NS_PER_SEC and friends constants 2024-08-19 09:08:55 +00:00
backtrace.h Cleanup the last Windows / MSC ifdefs and comments 2023-04-03 09:06:20 +00:00
barrier.h Prefer the pthread_barrier implementation over uv_barrier 2023-01-11 09:51:02 +01: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
buffer.h Fix the assertion failure when putting 48-bit number to buffer 2024-08-05 09:55:18 +02:00
commandline.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
condition.h Make the pthread_rwlock implementation header-only macros [2/2] 2022-11-02 10:34:10 +01:00
counter.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dir.h Apply adjusted clang-format 2023-03-10 17:31:28 +01:00
dnsstream.h Fix a condition in isc_dnsstream_assembler_incoming() 2023-08-24 11:59:57 +00:00
endian.h Update the source code formatting using clang-format-17 2023-10-17 17:47:46 +02: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 use only c23 or c11 noreturn specifiers 2024-08-07 18:27:40 +03:00
file.h Apply adjusted clang-format 2023-03-10 17:31:28 +01:00
fips.h Define isc_fips_mode() and isc_fips_set_mode() 2023-04-03 12:05:28 +10:00
formatcheck.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
getaddresses.h Remove some lingering references to libbind9 2023-03-08 10:06:22 +00:00
hash.h Remove isc_hash_function macro 2023-09-19 19:56:33 +02:00
hashmap.h Refactor isc_hashmap to accept custom match function 2023-09-16 07:20:48 +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
histo.h Simplify histogram quantiles 2023-04-03 12:08:05 +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 remove isc_task completely 2023-02-16 18:35:32 +01:00
interfaceiter.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
iterated_hash.h Use thread_local EVP_MD_CTX in isc_iterated_hash() 2023-01-18 19:36:21 +01:00
job.h Reformat sources with up-to-date clang-format-17 2023-11-13 16:52:35 +01:00
lang.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
lex.h Change the return type of isc_lex_create() to void 2022-10-26 12:55:06 +02:00
list.h Clang-format header file changes 2024-05-17 16:03:21 -07:00
log.h Remove do-nothing header <isc/offset.h> 2023-02-15 16:44:47 +00:00
loop.h Stop processing catalog zone changes when shutting down 2024-05-09 08:17:44 +10:00
magic.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
managers.h remove isc_task completely 2023-02-16 18:35:32 +01:00
md.h Avoid implicit algorithm fetch for OpenSSL EVP_MD family 2023-01-18 18:32:57 +01:00
mem.h Forward declare mallocx in isc/mem.h 2024-01-18 09:34:36 +01:00
meminfo.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
mutex.h Remove ISC_MUTEX_INITIALIZER 2024-08-05 07:31:39 +00: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 source code formatting using clang-format-17 2023-10-17 17:47:46 +02:00
netaddr.h Completely remove the Unix Domain Socket support from BIND 9 2023-09-19 18:51:35 +02:00
netmgr.h PROXYv2 over UDP transport 2023-12-06 15:15:25 +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
once.h Improve reporting for pthread_once errors 2022-10-14 16:39:21 +02:00
os.h Add isc_os_umask() function to get current umask 2023-03-31 12:52:59 +00:00
overflow.h Add <isc/overflow.h> for checked mul, add, and sub 2023-06-27 12:38:09 +02:00
parseint.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
pause.h Improve the spinloop pause / yield hint 2023-02-14 17:13:24 +00:00
portset.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
proxy2.h Add PROXYv2 header utilities 2023-12-06 15:15:24 +02:00
queue.h Add isc_queue implementation on top of cds_wfcq 2024-06-05 09:19:56 +02:00
quota.h Use proper padding instead of using alignas() 2024-02-08 10:54:35 +01:00
radix.h Update the source code formatting using clang-format-17 2023-10-17 17:47:46 +02:00
random.h Make isc_random_uniform() nearly divisionless 2022-04-22 16:40:37 +01:00
ratelimiter.h refactor isc_ratelimiter to use loop callbacks 2023-01-31 21:41:19 -08:00
refcount.h fix typing mistakes in trace macros 2024-05-17 18:11:23 -07: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
result.h Limit isccc_cc_fromwire recursion depth 2023-09-07 19:46:19 +02:00
rwlock.h Use proper padding instead of using alignas() 2024-02-08 10:54:35 +01: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 Implement incremental version of SipHash 2-4 and HalfSipHash 2-4 2023-09-12 16:17:06 +02:00
sockaddr.h Add helper function isc_sockaddr_disabled 2024-06-03 18:34:31 +10:00
spinlock.h Add isc_spinlock unit with shim pthread_spin implementation 2023-04-21 12:10:02 +02:00
stats.h Return the old counter value in isc_stats_increment 2024-05-10 12:08:52 +03:00
stdio.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
stdtime.h Remove isc_stdtime_get() macro 2023-03-31 13:33:16 +02:00
strerr.h Explain <isc/strerr.h> a little more 2023-02-15 16:44:09 +00:00
string.h Use strnstr implementation from FreeBSD if not provided by OS 2022-10-04 14:21:41 +11: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
thread.h Reformat sources with up-to-date clang-format-17 2023-11-13 16:52:35 +01:00
tid.h Make dns_dispatch bound to threads 2023-09-16 07:32:17 +02:00
time.h Use constexpr for NS_PER_SEC and friends constants 2024-08-19 09:08:55 +00:00
timer.h Add isc_timer_async_destroy() helper function 2022-09-21 14:25:33 -07:00
tls.h Move the dst__openssl_toresult to isc_tls unit 2024-08-08 11:59:41 +02:00
tm.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
types.h Use <isc/atomic.h> instead of <stdatomic.h> directly in <isc/types.h> 2024-01-03 17:04:31 +00:00
urcu.h Cleanup the __tsan_acquire/__tsan_release 2023-07-28 08:59:08 +02:00
url.h Rewrite isc_httpd using picohttpparser and isc_url_parse 2022-10-14 11:26:54 +02:00
utf8.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
util.h Update sources to Clang 18 formatting 2024-04-23 13:11:52 +02:00
uv.h De-duplicate some calls to strerror_r() 2022-10-17 11:58:26 +01:00
work.h Reformat sources with up-to-date clang-format-17 2023-11-13 16:52:35 +01:00
xml.h Use custom isc_mem based allocator for libxml2 2022-09-27 17:10:42 +02:00