diff options
Diffstat (limited to 'include/state.h')
-rw-r--r-- | include/state.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/state.h b/include/state.h index b3966fd99e..bc9a574093 100644 --- a/include/state.h +++ b/include/state.h @@ -10,13 +10,15 @@ int state_backend_dtb_file(struct state *state, const char *of_path, int state_backend_raw_file(struct state *state, const char *of_path, const char *path, off_t offset, size_t size); -struct state *state_new_from_node(const char *name, struct device_node *node); +struct state *state_new_from_node(struct device_node *node, char *path, + off_t offset, size_t max_size, bool readonly); void state_release(struct state *state); 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(struct state *state); int state_save(struct state *state); void state_info(void); |