diff options
author | Simon Glass | 2023-08-14 16:40:36 -0600 |
---|---|---|
committer | Tom Rini | 2023-08-25 13:54:33 -0400 |
commit | bcf2b7202e960e7fb3df8d5e8ed0d6fa00a5a9fa (patch) | |
tree | 75f46b69fa13368405aafeb36e2b1adcfcdf6a35 /include | |
parent | fc9c0e0771cad76b24f73bb64c105b6ea39721ca (diff) |
expo: cedit: Support reading settings from environment vars
Add a command to read cedit settings from environment variables so that
they can be restored as part of the environment.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/cedit.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/cedit.h b/include/cedit.h index f261207e209..fe10e6c829c 100644 --- a/include/cedit.h +++ b/include/cedit.h @@ -89,4 +89,12 @@ int cedit_read_settings(struct expo *exp, oftree tree); */ int cedit_write_settings_env(struct expo *exp, bool verbose); +/* + * cedit_read_settings_env() - Read settings from the environment + * + * @exp: Expo to read settings into + * @verbose: true to print each var before it is read + */ +int cedit_read_settings_env(struct expo *exp, bool verbose); + #endif /* __CEDIT_H */ |