Hi all, I've added a second draft for an INI format as alternative to BGENV.DAT.
Changes to v1: - Added the library as single files instead of external dependency - The distinction between in BGENV.DAT and BGENV.INI is now the other way around - if the file name is BGENV.INI, it is parsed with as INI file, in every other case the old behavior is used. - Squashed some commits that belonged together Kind regards, Tobias *** BLURB HERE *** Tobias Schmidl (3): Added libiniparser INI parsing: added read part INI parser: Added writing part 3rdparty/iniparser/dictionary.c | 380 +++++++++++++++ 3rdparty/iniparser/dictionary.h | 173 +++++++ 3rdparty/iniparser/iniparser.c | 836 ++++++++++++++++++++++++++++++++ 3rdparty/iniparser/iniparser.h | 358 ++++++++++++++ Makefile.am | 7 +- env/env_user_config_file.c | 298 ++++++++++++ envdata.ini.example | 10 + include/env_user_config_file.h | 23 + include/envdata.h | 10 + tools/bg_printenv.c | 41 +- tools/bg_setenv.c | 10 + 11 files changed, 2128 insertions(+), 18 deletions(-) create mode 100644 3rdparty/iniparser/dictionary.c create mode 100644 3rdparty/iniparser/dictionary.h create mode 100644 3rdparty/iniparser/iniparser.c create mode 100644 3rdparty/iniparser/iniparser.h create mode 100644 env/env_user_config_file.c create mode 100644 envdata.ini.example create mode 100644 include/env_user_config_file.h -- 2.36.1 -- You received this message because you are subscribed to the Google Groups "EFI Boot Guard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/efibootguard-dev/20220812114246.1727090-1-tobiasschmidl%40siemens.com.
