summaryrefslogtreecommitdiffstats
path: root/usr.bin/dig/lib/isc/unix/time.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite isc_time_microdiff() as uelapsed() and put it directlyflorian2020-09-141-41/+0
| | | | | into dig sources, lets us get rid of unix/time.{c,h} OK deraadt
* cleanupflorian2020-02-161-17/+1
| | | | OK millert
* clock_gettime cannot fail if called correctly; unravel TIME_NOWflorian2020-02-161-12/+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
* Move isc_time_formathttptimestamp to the only place it is used.florian2020-02-161-19/+1
| | | | OK millert
* unravel isc_time_formattimestampflorian2020-02-161-26/+3
| | | | OK millert
* unravel isc_time_add and isc_time_subtractflorian2020-02-161-22/+1
| | | | OK millert
* unravel isc_time_compareflorian2020-02-161-17/+1
| | | | OK millert
* unravel isc_time_isepochflorian2020-02-161-13/+1
| | | | OK millert
* remove timespec settersflorian2020-02-161-17/+1
| | | | OK millert
* Reduce interval indirection by setting struct members directly andflorian2020-02-161-27/+1
| | | | | using macros from sys/time.h OK millert
* The timer type we are using requires interval to be set, removeflorian2020-02-161-4/+1
| | | | | unused interval_zero. OK millert
* Replace isc_time_t and interval_t with struct timespec.florian2020-02-161-120/+47
| | | | Input & OK millert
* Now we are only using one timer type (once) and expires is always NULLflorian2020-02-161-4/+1
| | | | | so remove those struct members. OK millert
* threads are gone, replace thread safe isc__strerror() wrapperjung2020-02-131-5/+2
| | | | | | with strerror() and drop it ok millert florian
* remove more uneeded include statements and filesjsg2020-02-131-3/+1
|
* trust gettimeofday doing the right thingflorian2020-02-131-48/+1
|
* remove some unreferenced functionsjsg2020-02-121-104/+1
| | | | ok florian@
* remove uneeded #include linesjsg2020-02-111-3/+2
| | | | ok florian@
* Move dig(1) and needed DNS libraries into it's own source directory inflorian2020-02-071-0/+435
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