diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2017-03-27 10:14:38 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-03-31 18:43:53 +0200 |
commit | 0c7436753c73e71ee512e5ed8029e7ccceedcd89 (patch) | |
tree | cc1524b0abc4c016968cef8989408f0680eed548 /include/state.h | |
parent | a081eb840ed12eff6256a5497771a8c3168fc95b (diff) | |
download | barebox-0c7436753c73e71ee512e5ed8029e7ccceedcd89.tar.gz barebox-0c7436753c73e71ee512e5ed8029e7ccceedcd89.tar.xz |
state: Allow to load without authentification
Sometimes it's useful to be able to load a state even when it
can't be authentificated. Add an option for this.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/state.h')
-rw-r--r-- | include/state.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/state.h b/include/state.h index bc9a574093..63164f92e5 100644 --- a/include/state.h +++ b/include/state.h @@ -18,6 +18,7 @@ struct state *state_by_name(const char *name); struct state *state_by_node(const struct device_node *node); int state_get_name(const struct state *state, char const **name); +int state_load_no_auth(struct state *state); int state_load(struct state *state); int state_save(struct state *state); void state_info(void); |