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>
This commit is contained in:
Patrick Steinhardt 2021-02-14 12:16:28 +01:00 committed by Jouni Malinen
parent fd78ab8270
commit e9f449ba59
10 changed files with 143 additions and 100 deletions

View file

@ -230,6 +230,10 @@
RelativePath="..\..\..\src\utils\common.c"
>
</File>
<File
RelativePath="..\..\..\src\utils\config.c"
>
</File>
<File
RelativePath="..\..\config.c"
>