summaryrefslogtreecommitdiff
path: root/tests/libutil/str_table.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-07-10 12:22:26 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-03-30 22:31:30 +0200
commit5e54880a2db2aeb7a6c301a69ee2bef9a09a237f (patch)
tree8eee963268f2db658dba93d075af3a568ade1b48 /tests/libutil/str_table.c
parent5df5c115298e8ed9ec977ded60e8019ea39f00b3 (diff)
Cleanup: table driven pax header parsing
Instead of having a long if-else-if chain, replace the PAX header field parsing with a table driven approach. Altough it is more code, it is hopefully more readable, maintainable, extensible and it dedupliates some of the value parsing code. The GNU.sparse parsing is left as is, because it requires maintaining state. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/libutil/str_table.c')
0 files changed, 0 insertions, 0 deletions