summaryrefslogtreecommitdiffstats
path: root/usr.bin/dig/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Stop generating DNS class and type enums.florian2020-02-242-11/+95
| | | | OK jsg, jung
* Fix 'previously declared here' error on gcc3(luna88k).aoyama2020-02-243-10/+1
| | | | ok jsg@ florian@ jung@
* remove some unused functionsjsg2020-02-236-140/+6
| | | | ok jung@
* rmeove more unused functions and codejung2020-02-2395-3879/+66
| | | | ok florian
* remove unused parts of types.hjsg2020-02-232-189/+1
| | | | ok jung@ florian@
* We never request to clone the buffer from the message parser.florian2020-02-232-14/+2
| | | | OK millert
* We are not passing options to the message renderer.florian2020-02-232-38/+11
| | | | OK millert
* Partial rendering was never implemented.florian2020-02-234-108/+20
| | | | OK millert
* Remove unused fields from struct dst_key and stop passing name andflorian2020-02-234-95/+20
| | | | | rdclass around. OK millert, jung
* hmacs do not support NULL keysflorian2020-02-232-24/+3
| | | | OK millert, jung
* All key funcs are populated, skip NULL check.florian2020-02-233-62/+4
| | | | | While here remove *_isprivate since it is always true. OK millert, jung
* createctx2, verify2, and cleanup are always NULL.florian2020-02-234-108/+6
| | | | OK millert, jung
* Remove unused hmac functions from struct dst_func which in turn letsflorian2020-02-235-1050/+5
| | | | | us delete parsing of private keys from files. OK millert, jung
* remove unused structsjsg2020-02-232-36/+2
|
* remove unused dns_rdatacallbacks struct and typedefjsg2020-02-233-73/+1
|
* remove various unused macrosjung2020-02-225-51/+4
| | | | ok florian
* remove some unused args and unused assignments, as resultjung2020-02-226-64/+30
| | | | | | | | | msgblock_free() becomes just free() also add UNUSED() for some dns_message *msg args for later revisit and cleanup ok millert florian
* remove assigned but unused valuesjung2020-02-224-18/+3
| | | | ok millert florian
* remove unused codejung2020-02-2220-843/+16
| | | | ok millert florian
* Read CLOCK_MONOTONIC when we need timestamps to compare and useflorian2020-02-213-13/+13
| | | | | time(3) for the wall clock. prodding & OK jung
* We do not generate DNS records from text representations.florian2020-02-2081-4397/+56
| | | | OK millert
* Remove support for reading tsig keys from dnssec key pair.florian2020-02-202-365/+2
| | | | | | | | | | | | | This was accidentally broken some time ago. Arguably this was the least useful way of providing tsig keys to dig. ISC also removed generating tsig keys from dnssec-keygen in 9.13. To read the key from disk using the -k option it has to be provided as as a session key: key "keyname" { algorithm hmac-sha256; secret "[...]"; }; OK millert
* simplify signal setup and remove block/unblock/is_running/reloadjung2020-02-193-178/+6
| | | | | | with input from florian ok millert florian
* remove unreachable codejung2020-02-191-4/+0
| | | | ok millert florian
* Get rid of ISC_MAGIC and ISC_MAGIC_VALID macros.florian2020-02-1839-1716/+295
| | | | | | | 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-186-188/+3
| | | | OK millert
* isc_stdio_open() wrapper function is only called in lex'erjung2020-02-175-87/+10
| | | | | | so call fopen() directly and drop it ok florian
* remove unused codejung2020-02-1720-1128/+22
| | | | ok florian
* Get rid of isc_stdtime_t and use time_t directly.florian2020-02-1612-170/+52
| | | | OK millert
* cleanupflorian2020-02-162-24/+4
| | | | OK millert
* clock_gettime cannot fail if called correctly; unravel TIME_NOWflorian2020-02-166-45/+13
| | | | | | | 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-163-40/+21
| | | | OK millert
* unravel isc_time_formattimestampflorian2020-02-163-46/+9
| | | | OK millert
* unravel isc_time_add and isc_time_subtractflorian2020-02-165-88/+17
| | | | OK millert
* unravel isc_time_compareflorian2020-02-164-58/+16
| | | | OK millert
* unravel isc_time_isepochflorian2020-02-163-26/+4
| | | | OK millert
* remove timespec settersflorian2020-02-164-56/+11
| | | | OK millert
* Reduce interval indirection by setting struct members directly andflorian2020-02-164-60/+11
| | | | | using macros from sys/time.h OK millert
* The timer type we are using requires interval to be set, removeflorian2020-02-163-18/+5
| | | | | unused interval_zero. OK millert
* Replace isc_time_t and interval_t with struct timespec.florian2020-02-1611-234/+99
| | | | Input & OK millert
* Now we are only using one timer type (once) and expires is always NULLflorian2020-02-164-103/+34
| | | | | so remove those struct members. OK millert
* We only use isc_timertype_once, get rid of all other types.florian2020-02-162-84/+22
| | | | OK millert
* remove unused filejsg2020-02-161-141/+0
|
* remove unused functionflorian2020-02-152-17/+2
|
* timer methods are unusedflorian2020-02-152-57/+2
|
* test pointers against NULL not 0jsg2020-02-151-1/+1
|
* remove unused lockid var and FDLOCK_ID macrojsg2020-02-151-7/+0
|
* unifdef VALREGEX_REPORT_REASON, it doesn't provide much clarity.florian2020-02-151-40/+25
|
* Get rid of "discards (const) qualifiers" warning in a less convoluted way.florian2020-02-152-10/+3
| | | | | OK schwarze who points out that sufficiently excessive compiler warning settings will still warn for a straight forward (void *) cast.
* threads are gone, replace thread safe isc__strerror() wrapperjung2020-02-137-137/+26
| | | | | | with strerror() and drop it ok millert florian