]> git.ipfire.org Git - thirdparty/hostap.git/commit
wpa_supplicant: Move wpa_config_get_line() into utils
authorPatrick Steinhardt <ps@pks.im>
Sun, 14 Feb 2021 11:16:28 +0000 (12:16 +0100)
committerJouni Malinen <j@w1.fi>
Mon, 15 Feb 2021 22:47:43 +0000 (00:47 +0200)
commite9f449ba59a71ecf952bed51735172a5be2c50a7
treee239772598b2680b3562069f483c9814723a4410
parentfd78ab827085574fb75955907fdada9848cde5b9
wpa_supplicant: Move wpa_config_get_line() into utils

The function wpa_config_get_line() is used by the wpa_supplicant config
file parser to retrieve the next non-comment non-blank line. We'll need
the same kind of functionality to implement the file-based external
password backend, so as a preparatory step this commit extracts the
function into its own standalone file in the utils package.

No functional changes are expected from this commit.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
src/utils/Makefile
src/utils/config.c [new file with mode: 0644]
src/utils/config.h [new file with mode: 0644]
tests/fuzzing/wnm/wnm.c
wpa_supplicant/Android.mk
wpa_supplicant/Makefile
wpa_supplicant/config_file.c
wpa_supplicant/vs2005/eapol_test/eapol_test.vcproj
wpa_supplicant/vs2005/wpa_supplicant/wpa_supplicant.vcproj
wpa_supplicant/vs2005/wpasvc/wpasvc.vcproj