summaryrefslogtreecommitdiffstats
path: root/usr.bin/dig/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* expand ISC_FORMAT_PRINTF and get rid of formatcheck.hflorian2020-02-1311-66/+27
|
* unifdef CHECK; not sure why cppcheck would only trip over this macro,florian2020-02-131-11/+1
| | | | this .c file uses a bunch of other macros only defined in rdata.c.
* remove task and timer tracingflorian2020-02-132-64/+1
|
* unifdef ISC_LIST_CHECKINITflorian2020-02-131-14/+1
|
* While we do have AF_UNIX support, dig doesn't use it.florian2020-02-132-31/+2
|
* Move DNS_NAME_INITABSOLUTE and DNS_NAME_INITNONABSOLUTE to a comonflorian2020-02-134-52/+20
| | | | header to not have multiple copies.
* remove macros which defined extern "C" for C++jsg2020-02-1373-473/+62
| | | | ok florian@
* remove more uneeded include statements and filesjsg2020-02-1326-159/+25
|
* remove unused macrosjsg2020-02-1310-59/+7
| | | | ok florian@
* No need for "high performance" macros.florian2020-02-133-98/+27
| | | | | | While here drop name_length() function and replace it with name->length. (Found because clang now complained that we are dropping a const qualifier).
* use libc inet_aton(3)jsg2020-02-133-199/+3
| | | | ok florian@ benno@ jung@
* remove unused defineflorian2020-02-131-5/+1
|
* we do not have gostflorian2020-02-131-19/+1
|
* trust gettimeofday doing the right thingflorian2020-02-132-88/+2
|
* remove ISC_HEAP_CHECK knob, it was never turnedflorian2020-02-131-19/+1
|
* it has been 16 years...florian2020-02-131-5/+1
|
* unifdef SKAN_MSG_DEBUG, it was never definedflorian2020-02-131-60/+1
|
* remove DNS_RDATA_CHECKINITIALIZED knobflorian2020-02-131-10/+0
|
* We are not interested in working around shortcomings of ancientflorian2020-02-132-25/+2
| | | | versions of the clang static analyzer.
* unfidef assertions.h to always have assertions enabled; no changeflorian2020-02-133-62/+3
| | | | | | | in behaviour. While here unifdef one remaining __COVERITY__. While we might want to move away from assertions we can't just nuke them since they are used for error checking.