summaryrefslogtreecommitdiffstats
path: root/usr.bin/dig/lib/isc/unix/app.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Mechanically replace isc_boolean_t with int.florian2020-09-141-17/+16
| | | | OK deraadt
* Rewrite isc_time_microdiff() as uelapsed() and put it directlyflorian2020-09-141-8/+6
| | | | | into dig sources, lets us get rid of unix/time.{c,h} OK deraadt
* remove some uneeded includesjsg2020-02-241-1/+1
|
* Read CLOCK_MONOTONIC when we need timestamps to compare and useflorian2020-02-211-1/+1
| | | | | time(3) for the wall clock. prodding & OK jung
* simplify signal setup and remove block/unblock/is_running/reloadjung2020-02-191-133/+4
| | | | | | with input from florian ok millert florian
* Get rid of ISC_MAGIC and ISC_MAGIC_VALID macros.florian2020-02-181-184/+38
| | | | | | | While pulling on that it turns out we can / need git rid of a isc_task -> isc__task, isc_taskmgr -> isc__taskmgr, isc_timer -> isc__timer and isc_socket -> isc__socket indirection. OK millert
* Remove unused task, taskmgr, app, socket and socketmgr methods.florian2020-02-181-31/+0
| | | | OK millert
* remove unused codejung2020-02-171-5/+0
| | | | ok florian
* clock_gettime cannot fail if called correctly; unravel TIME_NOWflorian2020-02-161-1/+1
| | | | | | | indirections. (I'm not convinced that we always want to read CLOCK_REALTIME, in fact we probably want to almost always read CLOCK_MONOTONIC.) OK millert
* Replace isc_time_t and interval_t with struct timespec.florian2020-02-161-1/+1
| | | | Input & OK millert
* threads are gone, replace thread safe isc__strerror() wrapperjung2020-02-131-9/+6
| | | | | | with strerror() and drop it ok millert florian
* remove uneeded #include linesjsg2020-02-111-5/+0
| | | | ok florian@
* Move dig(1) and needed DNS libraries into it's own source directory inflorian2020-02-071-0/+583
usr.bin/dig. From the beginning when we started to remove unneeded nameserver code, it was our goal to extract dig functionality from the bind sources, for everyone's benefit as this is easier to reason about. In total we removed about 2/3 or over 300.000 lines of code. We kept the lib/ subdirectory layout but moved the content of bin/ to the top from the old bind source directory. Previous sources and history can be found in the src/usr.sbin/bind Attic. With & OK deraadt Proposed directory layout sounds good to sthen