2018-08-07 10:46:53 -04:00
|
|
|
include $(top_srcdir)/Makefile.top
|
|
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = libisc.la
|
|
|
|
|
|
|
|
|
|
libisc_ladir = $(includedir)/isc
|
|
|
|
|
libisc_la_HEADERS = \
|
2022-06-24 17:11:02 -04:00
|
|
|
include/isc/ascii.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
include/isc/assertions.h \
|
New event loop handling API
This commit introduces new APIs for applications and signal handling,
intended to replace isc_app for applications built on top of libisc.
* isc_app will be replaced with isc_loopmgr, which handles the
starting and stopping of applications. In isc_loopmgr, the main
thread is not blocked, but is part of the working thread set.
The loop manager will start a number of threads, each with a
uv_loop event loop running. Setup and teardown functions can be
assigned which will run when the loop starts and stops, and
jobs can be scheduled to run in the meantime. When
isc_loopmgr_shutdown() is run from any the loops, all loops
will shut down and the application can terminate.
* signal handling will now be handled with a separate isc_signal unit.
isc_loopmgr only handles SIGTERM and SIGINT for application
termination, but the application may install additional signal
handlers, such as SIGHUP as a signal to reload configuration.
* new job running primitives, isc_job and isc_async, have been added.
Both units schedule callbacks (specifying a callback function and
argument) on an event loop. The difference is that isc_job unit is
unlocked and not thread-safe, so it can be used to efficiently
run jobs in the same thread, while isc_async is thread-safe and
uses locking, so it can be used to pass jobs from one thread to
another.
* isc_tid will be used to track the thread ID in isc_loop worker
threads.
* unit tests have been added for the new APIs.
2022-07-26 07:03:22 -04:00
|
|
|
include/isc/async.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
include/isc/atomic.h \
|
|
|
|
|
include/isc/attributes.h \
|
|
|
|
|
include/isc/backtrace.h \
|
2021-05-05 05:51:39 -04:00
|
|
|
include/isc/barrier.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
include/isc/base32.h \
|
|
|
|
|
include/isc/base64.h \
|
|
|
|
|
include/isc/buffer.h \
|
|
|
|
|
include/isc/commandline.h \
|
|
|
|
|
include/isc/counter.h \
|
2024-08-08 06:16:50 -04:00
|
|
|
include/isc/crypto.h \
|
2021-05-20 09:53:50 -04:00
|
|
|
include/isc/dir.h \
|
2022-06-13 12:20:08 -04:00
|
|
|
include/isc/dnsstream.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
include/isc/endian.h \
|
2022-09-22 04:36:53 -04:00
|
|
|
include/isc/entropy.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
include/isc/errno.h \
|
|
|
|
|
include/isc/error.h \
|
|
|
|
|
include/isc/file.h \
|
|
|
|
|
include/isc/formatcheck.h \
|
|
|
|
|
include/isc/fuzz.h \
|
2025-02-27 01:37:04 -05:00
|
|
|
include/isc/fxhash.h \
|
2022-12-16 05:19:16 -05:00
|
|
|
include/isc/getaddresses.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
include/isc/hash.h \
|
2022-06-24 02:32:12 -04:00
|
|
|
include/isc/hashmap.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
include/isc/heap.h \
|
2024-09-10 09:02:53 -04:00
|
|
|
include/isc/helper.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
include/isc/hex.h \
|
2023-03-08 04:55:42 -05:00
|
|
|
include/isc/histo.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
include/isc/hmac.h \
|
|
|
|
|
include/isc/ht.h \
|
|
|
|
|
include/isc/httpd.h \
|
|
|
|
|
include/isc/interfaceiter.h \
|
|
|
|
|
include/isc/iterated_hash.h \
|
New event loop handling API
This commit introduces new APIs for applications and signal handling,
intended to replace isc_app for applications built on top of libisc.
* isc_app will be replaced with isc_loopmgr, which handles the
starting and stopping of applications. In isc_loopmgr, the main
thread is not blocked, but is part of the working thread set.
The loop manager will start a number of threads, each with a
uv_loop event loop running. Setup and teardown functions can be
assigned which will run when the loop starts and stops, and
jobs can be scheduled to run in the meantime. When
isc_loopmgr_shutdown() is run from any the loops, all loops
will shut down and the application can terminate.
* signal handling will now be handled with a separate isc_signal unit.
isc_loopmgr only handles SIGTERM and SIGINT for application
termination, but the application may install additional signal
handlers, such as SIGHUP as a signal to reload configuration.
* new job running primitives, isc_job and isc_async, have been added.
Both units schedule callbacks (specifying a callback function and
argument) on an event loop. The difference is that isc_job unit is
unlocked and not thread-safe, so it can be used to efficiently
run jobs in the same thread, while isc_async is thread-safe and
uses locking, so it can be used to pass jobs from one thread to
another.
* isc_tid will be used to track the thread ID in isc_loop worker
threads.
* unit tests have been added for the new APIs.
2022-07-26 07:03:22 -04:00
|
|
|
include/isc/job.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
include/isc/lex.h \
|
2025-02-04 07:17:31 -05:00
|
|
|
include/isc/lib.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
include/isc/list.h \
|
|
|
|
|
include/isc/log.h \
|
New event loop handling API
This commit introduces new APIs for applications and signal handling,
intended to replace isc_app for applications built on top of libisc.
* isc_app will be replaced with isc_loopmgr, which handles the
starting and stopping of applications. In isc_loopmgr, the main
thread is not blocked, but is part of the working thread set.
The loop manager will start a number of threads, each with a
uv_loop event loop running. Setup and teardown functions can be
assigned which will run when the loop starts and stops, and
jobs can be scheduled to run in the meantime. When
isc_loopmgr_shutdown() is run from any the loops, all loops
will shut down and the application can terminate.
* signal handling will now be handled with a separate isc_signal unit.
isc_loopmgr only handles SIGTERM and SIGINT for application
termination, but the application may install additional signal
handlers, such as SIGHUP as a signal to reload configuration.
* new job running primitives, isc_job and isc_async, have been added.
Both units schedule callbacks (specifying a callback function and
argument) on an event loop. The difference is that isc_job unit is
unlocked and not thread-safe, so it can be used to efficiently
run jobs in the same thread, while isc_async is thread-safe and
uses locking, so it can be used to pass jobs from one thread to
another.
* isc_tid will be used to track the thread ID in isc_loop worker
threads.
* unit tests have been added for the new APIs.
2022-07-26 07:03:22 -04:00
|
|
|
include/isc/loop.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
include/isc/magic.h \
|
2021-04-26 18:07:43 -04:00
|
|
|
include/isc/managers.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
include/isc/md.h \
|
|
|
|
|
include/isc/mem.h \
|
|
|
|
|
include/isc/meminfo.h \
|
2021-05-20 09:53:50 -04:00
|
|
|
include/isc/mutex.h \
|
|
|
|
|
include/isc/net.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
include/isc/netaddr.h \
|
|
|
|
|
include/isc/netmgr.h \
|
|
|
|
|
include/isc/netscope.h \
|
|
|
|
|
include/isc/nonce.h \
|
2021-05-20 09:53:50 -04:00
|
|
|
include/isc/once.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
include/isc/os.h \
|
2023-06-06 10:11:13 -04:00
|
|
|
include/isc/overflow.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
include/isc/parseint.h \
|
2021-03-24 12:52:56 -04:00
|
|
|
include/isc/pause.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
include/isc/portset.h \
|
2023-03-03 09:42:47 -05:00
|
|
|
include/isc/proxy2.h \
|
2024-03-25 07:17:42 -04:00
|
|
|
include/isc/queue.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
include/isc/quota.h \
|
|
|
|
|
include/isc/radix.h \
|
|
|
|
|
include/isc/random.h \
|
|
|
|
|
include/isc/ratelimiter.h \
|
2025-03-03 06:32:14 -05:00
|
|
|
include/isc/readline.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
include/isc/refcount.h \
|
|
|
|
|
include/isc/regex.h \
|
|
|
|
|
include/isc/region.h \
|
|
|
|
|
include/isc/result.h \
|
|
|
|
|
include/isc/rwlock.h \
|
|
|
|
|
include/isc/safe.h \
|
|
|
|
|
include/isc/serial.h \
|
2025-02-23 08:36:35 -05:00
|
|
|
include/isc/sieve.h \
|
2023-01-02 09:49:52 -05:00
|
|
|
include/isc/signal.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
include/isc/siphash.h \
|
|
|
|
|
include/isc/sockaddr.h \
|
2023-03-03 03:24:13 -05:00
|
|
|
include/isc/spinlock.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
include/isc/stats.h \
|
|
|
|
|
include/isc/stdio.h \
|
2021-05-20 09:53:50 -04:00
|
|
|
include/isc/stdtime.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
include/isc/strerr.h \
|
|
|
|
|
include/isc/string.h \
|
|
|
|
|
include/isc/symtab.h \
|
2021-05-20 09:53:50 -04:00
|
|
|
include/isc/syslog.h \
|
|
|
|
|
include/isc/thread.h \
|
New event loop handling API
This commit introduces new APIs for applications and signal handling,
intended to replace isc_app for applications built on top of libisc.
* isc_app will be replaced with isc_loopmgr, which handles the
starting and stopping of applications. In isc_loopmgr, the main
thread is not blocked, but is part of the working thread set.
The loop manager will start a number of threads, each with a
uv_loop event loop running. Setup and teardown functions can be
assigned which will run when the loop starts and stops, and
jobs can be scheduled to run in the meantime. When
isc_loopmgr_shutdown() is run from any the loops, all loops
will shut down and the application can terminate.
* signal handling will now be handled with a separate isc_signal unit.
isc_loopmgr only handles SIGTERM and SIGINT for application
termination, but the application may install additional signal
handlers, such as SIGHUP as a signal to reload configuration.
* new job running primitives, isc_job and isc_async, have been added.
Both units schedule callbacks (specifying a callback function and
argument) on an event loop. The difference is that isc_job unit is
unlocked and not thread-safe, so it can be used to efficiently
run jobs in the same thread, while isc_async is thread-safe and
uses locking, so it can be used to pass jobs from one thread to
another.
* isc_tid will be used to track the thread ID in isc_loop worker
threads.
* unit tests have been added for the new APIs.
2022-07-26 07:03:22 -04:00
|
|
|
include/isc/tid.h \
|
2021-05-20 09:53:50 -04:00
|
|
|
include/isc/time.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
include/isc/timer.h \
|
2020-12-17 05:40:29 -05:00
|
|
|
include/isc/tls.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
include/isc/tm.h \
|
|
|
|
|
include/isc/types.h \
|
2023-03-30 11:04:22 -04:00
|
|
|
include/isc/urcu.h \
|
2020-10-31 15:42:18 -04:00
|
|
|
include/isc/url.h \
|
2020-05-11 00:44:23 -04:00
|
|
|
include/isc/utf8.h \
|
2022-04-27 11:41:47 -04:00
|
|
|
include/isc/util.h \
|
New event loop handling API
This commit introduces new APIs for applications and signal handling,
intended to replace isc_app for applications built on top of libisc.
* isc_app will be replaced with isc_loopmgr, which handles the
starting and stopping of applications. In isc_loopmgr, the main
thread is not blocked, but is part of the working thread set.
The loop manager will start a number of threads, each with a
uv_loop event loop running. Setup and teardown functions can be
assigned which will run when the loop starts and stops, and
jobs can be scheduled to run in the meantime. When
isc_loopmgr_shutdown() is run from any the loops, all loops
will shut down and the application can terminate.
* signal handling will now be handled with a separate isc_signal unit.
isc_loopmgr only handles SIGTERM and SIGINT for application
termination, but the application may install additional signal
handlers, such as SIGHUP as a signal to reload configuration.
* new job running primitives, isc_job and isc_async, have been added.
Both units schedule callbacks (specifying a callback function and
argument) on an event loop. The difference is that isc_job unit is
unlocked and not thread-safe, so it can be used to efficiently
run jobs in the same thread, while isc_async is thread-safe and
uses locking, so it can be used to pass jobs from one thread to
another.
* isc_tid will be used to track the thread ID in isc_loop worker
threads.
* unit tests have been added for the new APIs.
2022-07-26 07:03:22 -04:00
|
|
|
include/isc/uv.h \
|
2022-09-23 08:36:54 -04:00
|
|
|
include/isc/xml.h \
|
New event loop handling API
This commit introduces new APIs for applications and signal handling,
intended to replace isc_app for applications built on top of libisc.
* isc_app will be replaced with isc_loopmgr, which handles the
starting and stopping of applications. In isc_loopmgr, the main
thread is not blocked, but is part of the working thread set.
The loop manager will start a number of threads, each with a
uv_loop event loop running. Setup and teardown functions can be
assigned which will run when the loop starts and stops, and
jobs can be scheduled to run in the meantime. When
isc_loopmgr_shutdown() is run from any the loops, all loops
will shut down and the application can terminate.
* signal handling will now be handled with a separate isc_signal unit.
isc_loopmgr only handles SIGTERM and SIGINT for application
termination, but the application may install additional signal
handlers, such as SIGHUP as a signal to reload configuration.
* new job running primitives, isc_job and isc_async, have been added.
Both units schedule callbacks (specifying a callback function and
argument) on an event loop. The difference is that isc_job unit is
unlocked and not thread-safe, so it can be used to efficiently
run jobs in the same thread, while isc_async is thread-safe and
uses locking, so it can be used to pass jobs from one thread to
another.
* isc_tid will be used to track the thread ID in isc_loop worker
threads.
* unit tests have been added for the new APIs.
2022-07-26 07:03:22 -04:00
|
|
|
include/isc/work.h
|
2018-08-07 10:46:53 -04:00
|
|
|
|
|
|
|
|
libisc_la_SOURCES = \
|
|
|
|
|
$(libisc_la_HEADERS) \
|
|
|
|
|
netmgr/netmgr-int.h \
|
|
|
|
|
netmgr/netmgr.c \
|
2023-03-16 06:50:04 -04:00
|
|
|
netmgr/proxystream.c \
|
2023-07-12 08:25:38 -04:00
|
|
|
netmgr/proxyudp.c \
|
2022-04-27 11:41:47 -04:00
|
|
|
netmgr/socket.c \
|
2022-06-20 13:30:12 -04:00
|
|
|
netmgr/streamdns.c \
|
2018-08-07 10:46:53 -04:00
|
|
|
netmgr/tcp.c \
|
2022-02-02 04:50:27 -05:00
|
|
|
netmgr/timer.c \
|
2022-10-18 08:36:00 -04:00
|
|
|
netmgr/tlsstream.c \
|
2018-08-07 10:46:53 -04:00
|
|
|
netmgr/udp.c \
|
2022-06-24 17:11:02 -04:00
|
|
|
ascii.c \
|
2018-08-07 10:46:53 -04:00
|
|
|
assertions.c \
|
New event loop handling API
This commit introduces new APIs for applications and signal handling,
intended to replace isc_app for applications built on top of libisc.
* isc_app will be replaced with isc_loopmgr, which handles the
starting and stopping of applications. In isc_loopmgr, the main
thread is not blocked, but is part of the working thread set.
The loop manager will start a number of threads, each with a
uv_loop event loop running. Setup and teardown functions can be
assigned which will run when the loop starts and stops, and
jobs can be scheduled to run in the meantime. When
isc_loopmgr_shutdown() is run from any the loops, all loops
will shut down and the application can terminate.
* signal handling will now be handled with a separate isc_signal unit.
isc_loopmgr only handles SIGTERM and SIGINT for application
termination, but the application may install additional signal
handlers, such as SIGHUP as a signal to reload configuration.
* new job running primitives, isc_job and isc_async, have been added.
Both units schedule callbacks (specifying a callback function and
argument) on an event loop. The difference is that isc_job unit is
unlocked and not thread-safe, so it can be used to efficiently
run jobs in the same thread, while isc_async is thread-safe and
uses locking, so it can be used to pass jobs from one thread to
another.
* isc_tid will be used to track the thread ID in isc_loop worker
threads.
* unit tests have been added for the new APIs.
2022-07-26 07:03:22 -04:00
|
|
|
async.c \
|
2023-03-27 16:40:57 -04:00
|
|
|
async_p.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
backtrace.c \
|
|
|
|
|
base32.c \
|
|
|
|
|
base64.c \
|
|
|
|
|
commandline.c \
|
|
|
|
|
counter.c \
|
2024-08-08 06:16:50 -04:00
|
|
|
crypto.c \
|
2021-05-20 09:53:50 -04:00
|
|
|
dir.c \
|
2018-08-07 10:46:53 -04:00
|
|
|
entropy.c \
|
2021-05-20 09:53:50 -04:00
|
|
|
errno.c \
|
|
|
|
|
errno2result.c \
|
|
|
|
|
errno2result.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
error.c \
|
2021-05-20 09:53:50 -04:00
|
|
|
file.c \
|
2022-12-16 05:19:16 -05:00
|
|
|
getaddresses.c \
|
2018-08-07 10:46:53 -04:00
|
|
|
hash.c \
|
2022-06-24 02:32:12 -04:00
|
|
|
hashmap.c \
|
2018-08-07 10:46:53 -04:00
|
|
|
heap.c \
|
2024-09-10 09:02:53 -04:00
|
|
|
helper.c \
|
2018-08-07 10:46:53 -04:00
|
|
|
hex.c \
|
2023-03-08 04:55:42 -05:00
|
|
|
histo.c \
|
2018-08-07 10:46:53 -04:00
|
|
|
hmac.c \
|
2021-05-20 09:53:50 -04:00
|
|
|
ht.c \
|
2018-08-07 10:46:53 -04:00
|
|
|
httpd.c \
|
2021-05-20 09:53:50 -04:00
|
|
|
interfaceiter.c \
|
2018-08-07 10:46:53 -04:00
|
|
|
iterated_hash.c \
|
Use system allocator when jemalloc is unavailable
This commit adds support for systems where the jemalloc library is not
available as a package, here's the quick summary:
* On Linux - the jemalloc is usually available as a package, if
configured --without-jemalloc, the shim would be used around
malloc(), free(), realloc() and malloc_usable_size()
* On macOS - the jemalloc is available from homebrew or macports, if
configured --without-jemalloc, the shim would be used around
malloc(), free(), realloc() and malloc_size()
* On FreeBSD - the jemalloc is *the* system allocator, we just need
to check for <malloc_np.h> header to get access to non-standard API
* On NetBSD - the jemalloc is *the* system allocator, we just need to
check for <jemalloc/jemalloc.h> header to get access to non-standard
API
* On a system hostile to users and developers (read OpenBSD) - the
jemalloc API is emulated by using ((size_t *)ptr)[-1] field to hold
the size information. The OpenBSD developers care only for
themselves, so why should we care about speed on OpenBSD?
2021-05-25 06:46:00 -04:00
|
|
|
jemalloc_shim.h \
|
New event loop handling API
This commit introduces new APIs for applications and signal handling,
intended to replace isc_app for applications built on top of libisc.
* isc_app will be replaced with isc_loopmgr, which handles the
starting and stopping of applications. In isc_loopmgr, the main
thread is not blocked, but is part of the working thread set.
The loop manager will start a number of threads, each with a
uv_loop event loop running. Setup and teardown functions can be
assigned which will run when the loop starts and stops, and
jobs can be scheduled to run in the meantime. When
isc_loopmgr_shutdown() is run from any the loops, all loops
will shut down and the application can terminate.
* signal handling will now be handled with a separate isc_signal unit.
isc_loopmgr only handles SIGTERM and SIGINT for application
termination, but the application may install additional signal
handlers, such as SIGHUP as a signal to reload configuration.
* new job running primitives, isc_job and isc_async, have been added.
Both units schedule callbacks (specifying a callback function and
argument) on an event loop. The difference is that isc_job unit is
unlocked and not thread-safe, so it can be used to efficiently
run jobs in the same thread, while isc_async is thread-safe and
uses locking, so it can be used to pass jobs from one thread to
another.
* isc_tid will be used to track the thread ID in isc_loop worker
threads.
* unit tests have been added for the new APIs.
2022-07-26 07:03:22 -04:00
|
|
|
job.c \
|
|
|
|
|
job_p.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
lex.c \
|
|
|
|
|
lib.c \
|
|
|
|
|
log.c \
|
New event loop handling API
This commit introduces new APIs for applications and signal handling,
intended to replace isc_app for applications built on top of libisc.
* isc_app will be replaced with isc_loopmgr, which handles the
starting and stopping of applications. In isc_loopmgr, the main
thread is not blocked, but is part of the working thread set.
The loop manager will start a number of threads, each with a
uv_loop event loop running. Setup and teardown functions can be
assigned which will run when the loop starts and stops, and
jobs can be scheduled to run in the meantime. When
isc_loopmgr_shutdown() is run from any the loops, all loops
will shut down and the application can terminate.
* signal handling will now be handled with a separate isc_signal unit.
isc_loopmgr only handles SIGTERM and SIGINT for application
termination, but the application may install additional signal
handlers, such as SIGHUP as a signal to reload configuration.
* new job running primitives, isc_job and isc_async, have been added.
Both units schedule callbacks (specifying a callback function and
argument) on an event loop. The difference is that isc_job unit is
unlocked and not thread-safe, so it can be used to efficiently
run jobs in the same thread, while isc_async is thread-safe and
uses locking, so it can be used to pass jobs from one thread to
another.
* isc_tid will be used to track the thread ID in isc_loop worker
threads.
* unit tests have been added for the new APIs.
2022-07-26 07:03:22 -04:00
|
|
|
loop.c \
|
|
|
|
|
loop_p.h \
|
2021-04-26 18:07:43 -04:00
|
|
|
managers.c \
|
2018-08-07 10:46:53 -04:00
|
|
|
md.c \
|
|
|
|
|
mem.c \
|
2021-05-20 09:53:50 -04:00
|
|
|
mem_p.h \
|
|
|
|
|
meminfo.c \
|
|
|
|
|
mutex.c \
|
2022-07-13 07:19:32 -04:00
|
|
|
mutex_p.h \
|
2021-05-20 09:53:50 -04:00
|
|
|
net.c \
|
2018-08-07 10:46:53 -04:00
|
|
|
netaddr.c \
|
|
|
|
|
netscope.c \
|
|
|
|
|
nonce.c \
|
|
|
|
|
openssl_shim.c \
|
|
|
|
|
openssl_shim.h \
|
2021-05-20 09:53:50 -04:00
|
|
|
os.c \
|
2021-12-14 15:49:53 -05:00
|
|
|
os_p.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
parseint.c \
|
2022-10-07 09:48:26 -04:00
|
|
|
picohttpparser.c \
|
|
|
|
|
picohttpparser.h \
|
2018-08-07 10:46:53 -04:00
|
|
|
portset.c \
|
2023-01-30 09:36:49 -05:00
|
|
|
probes.d \
|
2023-03-03 09:42:47 -05:00
|
|
|
proxy2.c \
|
2018-08-07 10:46:53 -04:00
|
|
|
quota.c \
|
|
|
|
|
radix.c \
|
|
|
|
|
random.c \
|
|
|
|
|
ratelimiter.c \
|
|
|
|
|
regex.c \
|
2021-05-20 09:53:50 -04:00
|
|
|
region.c \
|
2018-08-07 10:46:53 -04:00
|
|
|
result.c \
|
|
|
|
|
safe.c \
|
|
|
|
|
serial.c \
|
New event loop handling API
This commit introduces new APIs for applications and signal handling,
intended to replace isc_app for applications built on top of libisc.
* isc_app will be replaced with isc_loopmgr, which handles the
starting and stopping of applications. In isc_loopmgr, the main
thread is not blocked, but is part of the working thread set.
The loop manager will start a number of threads, each with a
uv_loop event loop running. Setup and teardown functions can be
assigned which will run when the loop starts and stops, and
jobs can be scheduled to run in the meantime. When
isc_loopmgr_shutdown() is run from any the loops, all loops
will shut down and the application can terminate.
* signal handling will now be handled with a separate isc_signal unit.
isc_loopmgr only handles SIGTERM and SIGINT for application
termination, but the application may install additional signal
handlers, such as SIGHUP as a signal to reload configuration.
* new job running primitives, isc_job and isc_async, have been added.
Both units schedule callbacks (specifying a callback function and
argument) on an event loop. The difference is that isc_job unit is
unlocked and not thread-safe, so it can be used to efficiently
run jobs in the same thread, while isc_async is thread-safe and
uses locking, so it can be used to pass jobs from one thread to
another.
* isc_tid will be used to track the thread ID in isc_loop worker
threads.
* unit tests have been added for the new APIs.
2022-07-26 07:03:22 -04:00
|
|
|
signal.c \
|
2018-08-07 10:46:53 -04:00
|
|
|
sockaddr.c \
|
|
|
|
|
stats.c \
|
2021-05-20 09:53:50 -04:00
|
|
|
stdio.c \
|
|
|
|
|
stdtime.c \
|
2018-08-07 10:46:53 -04:00
|
|
|
string.c \
|
|
|
|
|
symtab.c \
|
2021-05-20 09:53:50 -04:00
|
|
|
syslog.c \
|
|
|
|
|
thread.c \
|
2025-02-04 13:17:28 -05:00
|
|
|
thread_p.h \
|
New event loop handling API
This commit introduces new APIs for applications and signal handling,
intended to replace isc_app for applications built on top of libisc.
* isc_app will be replaced with isc_loopmgr, which handles the
starting and stopping of applications. In isc_loopmgr, the main
thread is not blocked, but is part of the working thread set.
The loop manager will start a number of threads, each with a
uv_loop event loop running. Setup and teardown functions can be
assigned which will run when the loop starts and stops, and
jobs can be scheduled to run in the meantime. When
isc_loopmgr_shutdown() is run from any the loops, all loops
will shut down and the application can terminate.
* signal handling will now be handled with a separate isc_signal unit.
isc_loopmgr only handles SIGTERM and SIGINT for application
termination, but the application may install additional signal
handlers, such as SIGHUP as a signal to reload configuration.
* new job running primitives, isc_job and isc_async, have been added.
Both units schedule callbacks (specifying a callback function and
argument) on an event loop. The difference is that isc_job unit is
unlocked and not thread-safe, so it can be used to efficiently
run jobs in the same thread, while isc_async is thread-safe and
uses locking, so it can be used to pass jobs from one thread to
another.
* isc_tid will be used to track the thread ID in isc_loop worker
threads.
* unit tests have been added for the new APIs.
2022-07-26 07:03:22 -04:00
|
|
|
tid.c \
|
2021-05-20 09:53:50 -04:00
|
|
|
time.c \
|
2018-08-07 10:46:53 -04:00
|
|
|
timer.c \
|
2020-12-17 05:40:29 -05:00
|
|
|
tls.c \
|
2021-05-20 09:53:50 -04:00
|
|
|
tm.c \
|
|
|
|
|
url.c \
|
2022-04-27 11:41:47 -04:00
|
|
|
utf8.c \
|
New event loop handling API
This commit introduces new APIs for applications and signal handling,
intended to replace isc_app for applications built on top of libisc.
* isc_app will be replaced with isc_loopmgr, which handles the
starting and stopping of applications. In isc_loopmgr, the main
thread is not blocked, but is part of the working thread set.
The loop manager will start a number of threads, each with a
uv_loop event loop running. Setup and teardown functions can be
assigned which will run when the loop starts and stops, and
jobs can be scheduled to run in the meantime. When
isc_loopmgr_shutdown() is run from any the loops, all loops
will shut down and the application can terminate.
* signal handling will now be handled with a separate isc_signal unit.
isc_loopmgr only handles SIGTERM and SIGINT for application
termination, but the application may install additional signal
handlers, such as SIGHUP as a signal to reload configuration.
* new job running primitives, isc_job and isc_async, have been added.
Both units schedule callbacks (specifying a callback function and
argument) on an event loop. The difference is that isc_job unit is
unlocked and not thread-safe, so it can be used to efficiently
run jobs in the same thread, while isc_async is thread-safe and
uses locking, so it can be used to pass jobs from one thread to
another.
* isc_tid will be used to track the thread ID in isc_loop worker
threads.
* unit tests have been added for the new APIs.
2022-07-26 07:03:22 -04:00
|
|
|
uv.c \
|
2022-09-23 08:36:54 -04:00
|
|
|
xml.c \
|
New event loop handling API
This commit introduces new APIs for applications and signal handling,
intended to replace isc_app for applications built on top of libisc.
* isc_app will be replaced with isc_loopmgr, which handles the
starting and stopping of applications. In isc_loopmgr, the main
thread is not blocked, but is part of the working thread set.
The loop manager will start a number of threads, each with a
uv_loop event loop running. Setup and teardown functions can be
assigned which will run when the loop starts and stops, and
jobs can be scheduled to run in the meantime. When
isc_loopmgr_shutdown() is run from any the loops, all loops
will shut down and the application can terminate.
* signal handling will now be handled with a separate isc_signal unit.
isc_loopmgr only handles SIGTERM and SIGINT for application
termination, but the application may install additional signal
handlers, such as SIGHUP as a signal to reload configuration.
* new job running primitives, isc_job and isc_async, have been added.
Both units schedule callbacks (specifying a callback function and
argument) on an event loop. The difference is that isc_job unit is
unlocked and not thread-safe, so it can be used to efficiently
run jobs in the same thread, while isc_async is thread-safe and
uses locking, so it can be used to pass jobs from one thread to
another.
* isc_tid will be used to track the thread ID in isc_loop worker
threads.
* unit tests have been added for the new APIs.
2022-07-26 07:03:22 -04:00
|
|
|
work.c
|
2018-08-07 10:46:53 -04:00
|
|
|
|
2022-10-14 06:54:57 -04:00
|
|
|
if USE_ISC_RWLOCK
|
|
|
|
|
libisc_la_SOURCES += \
|
|
|
|
|
rwlock.c
|
|
|
|
|
endif USE_ISC_RWLOCK
|
|
|
|
|
|
2018-08-07 10:46:53 -04:00
|
|
|
libisc_la_CPPFLAGS = \
|
|
|
|
|
$(AM_CPPFLAGS) \
|
|
|
|
|
$(LIBISC_CFLAGS) \
|
|
|
|
|
$(LIBUV_CFLAGS) \
|
|
|
|
|
$(OPENSSL_CFLAGS) \
|
|
|
|
|
$(ZLIB_CFLAGS)
|
|
|
|
|
|
|
|
|
|
libisc_la_LDFLAGS = \
|
2020-09-28 03:09:21 -04:00
|
|
|
$(AM_LDFLAGS) \
|
2021-01-12 07:38:44 -05:00
|
|
|
-release "$(PACKAGE_VERSION)"
|
2018-08-07 10:46:53 -04:00
|
|
|
|
|
|
|
|
libisc_la_LIBADD = \
|
|
|
|
|
$(LIBUV_LIBS) \
|
|
|
|
|
$(OPENSSL_LIBS) \
|
|
|
|
|
$(ZLIB_LIBS)
|
|
|
|
|
|
2021-10-12 04:44:30 -04:00
|
|
|
if HAVE_JEMALLOC
|
2021-04-21 07:52:15 -04:00
|
|
|
libisc_la_CPPFLAGS += \
|
2021-10-12 04:44:30 -04:00
|
|
|
$(JEMALLOC_CFLAGS)
|
2021-04-21 07:52:15 -04:00
|
|
|
|
|
|
|
|
libisc_la_LIBADD += \
|
2021-10-12 04:44:30 -04:00
|
|
|
$(JEMALLOC_LIBS)
|
|
|
|
|
endif HAVE_JEMALLOC
|
2021-04-21 07:52:15 -04:00
|
|
|
|
2018-08-07 10:46:53 -04:00
|
|
|
if HAVE_JSON_C
|
|
|
|
|
libisc_la_CPPFLAGS += \
|
|
|
|
|
$(JSON_C_CFLAGS)
|
|
|
|
|
|
|
|
|
|
libisc_la_LIBADD += \
|
|
|
|
|
$(JSON_C_LIBS)
|
|
|
|
|
endif HAVE_JSON_C
|
|
|
|
|
|
2021-10-12 04:44:30 -04:00
|
|
|
if HAVE_LIBNGHTTP2
|
|
|
|
|
libisc_la_SOURCES += \
|
2022-10-18 08:36:00 -04:00
|
|
|
netmgr/http.c
|
2021-10-12 04:44:30 -04:00
|
|
|
|
|
|
|
|
libisc_la_CPPFLAGS += \
|
|
|
|
|
$(LIBNGHTTP2_CFLAGS)
|
|
|
|
|
|
|
|
|
|
libisc_la_LIBADD += \
|
|
|
|
|
$(LIBNGHTTP2_LIBS)
|
|
|
|
|
endif
|
|
|
|
|
|
2018-08-07 10:46:53 -04:00
|
|
|
if HAVE_LIBXML2
|
|
|
|
|
libisc_la_CPPFLAGS += \
|
|
|
|
|
$(LIBXML2_CFLAGS)
|
|
|
|
|
|
|
|
|
|
libisc_la_LIBADD += \
|
|
|
|
|
$(LIBXML2_LIBS)
|
|
|
|
|
endif HAVE_LIBXML2
|
2023-01-30 09:36:49 -05:00
|
|
|
|
|
|
|
|
if !HAVE_SYSTEMTAP
|
|
|
|
|
DTRACE_DEPS = libisc_la-rwlock.lo libisc_la-job.lo
|
|
|
|
|
DTRACE_OBJS = .libs/libisc_la-rwlock.$(OBJEXT) .libs/libisc_la-job.$(OBJEXT)
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
include $(top_srcdir)/Makefile.dtrace
|
|
|
|
|
|
|
|
|
|
libisc_la_LIBADD += $(DTRACE_LIBADD)
|