summaryrefslogtreecommitdiffstats
path: root/lib/generic/pack.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Copyright notices: remove years and replace e-mailOto Šťáva2022-12-141-1/+1
|
* spellingJosh Soref2021-11-191-1/+1
| | | | Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* treewide: rename assumptions to kr_assert() / kr_fails_assert()Tomas Krizek2021-05-251-6/+6
| | | | | | | | | | | | | To (hopefully) improve readability, rename the typical macro usage of: if (!kr_assume(x)) y; // to if (kr_fails_assert(x)) y; As a convenience, replace the assert without a return value to a more simple version: (void)!kr_assume(x); // becomes kr_assert(x);
* lib/generic/pack.h: replace assertsTomas Krizek2021-05-251-37/+21
|
* doc-comments: fix some of the complaints from doxygenVladimír Čunát2020-07-151-1/+1
| | | | | | | There's still frequent issue that documenting some parameters would be mainly noise but doxygen will warn when not doing it. WARN_IF_UNDOCUMENTED apparently doesn't cover this and WARN_IF_DOC_ERROR would probably remove even some useful warnings.
* treewide: machine readable license for GNU GPLv3+ source codePetr Špaček2020-02-251-13/+1
| | | | | Long GNU GPLv3 boilderplate was automatically replaced with machine readable tag.
* lib/generic/pack: switch to NULL on empty pack iteratorMarek Vavruša2018-06-181-6/+14
| | | | | | It's probably slightly safer to use NULL than end-array pointer, so let's use it in this case. Significantly adapted by Vlada from original Marek's change, after master fixed the corruption.
* lib/generic/pack: more NULL checksVladimír Čunát2018-04-231-3/+15
| | | | Inspired by Marek's MR.
* lib/generic/pack: fix a bug/inconsistencyVladimír Čunát2018-04-231-3/+7
| | | | The NULL is never tested, and it was breaking our usual iteration pattern.
* struct kr_zonecut::nsset: migrate from map_t to trie_tVladimír Čunát2018-04-121-14/+21
|
* lib/generic/{array,pack}: improve documentationVladimír Čunát2018-04-121-4/+14
|
* pack_clone: new functionVladimír Čunát2018-04-121-0/+19
|
* hints: change the handling of repeated hints (again)Vladimír Čunát2017-07-141-0/+19
| | | | | In reverse (PTR) records, now the last definition wins, and non-canonical names don't get (shadowed) records.
* Update copyright information with 2017Ondřej Surý2017-01-251-1/+1
|
* www.gnu.org prefers httpsDaniel Kahn Gillmor2016-07-161-1/+1
|
* lib: cleanup, return value checksMarek Vavruša2015-11-281-1/+2
|
* generic/pack: support for lookupMarek Vavruša2015-05-291-12/+25
|
* lib/zonecut: use mempool for nsset packMarek Vavruša2015-05-191-1/+1
|
* doc: updated API doc and examplesMarek Vavruša2015-04-221-1/+3
|
* lib: fixed dead code and early dereferenceMarek Vavruša2015-04-191-1/+1
|
* lib/generic: missing include guard, updated docMarek Vavruša2015-04-191-0/+2
|
* lib/generic: implemented deletion for packMarek Vavruša2015-04-181-1/+24
|
* doc: updated library docMarek Vavruša2015-04-151-18/+29
|
* lib/generic: new data structure - packed listMarek Vavruša2015-04-151-0/+118