]> git.ipfire.org Git - pakfire.git/commit
config: Add helper function to parse strings
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 22 Nov 2024 11:17:31 +0000 (11:17 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 22 Nov 2024 11:18:22 +0000 (11:18 +0000)
commit2ccf6992a4817877c0bab0d515f771fedf411520
treeeccb670d2f7b9ac1f43b36b8a4ae518766db7f85
parent7a86780cf0db324b8c7587bd81c8cbc975337549
config: Add helper function to parse strings

That helps us to avoid all sorts of weird type casting in the test
cases.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/config.c
src/libpakfire/include/pakfire/config.h
tests/libpakfire/config.c