diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-10-18 08:13:53 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-11-13 17:25:21 +0800 |
commit | 4a2dbb71fdcf234302760d20333420a6e6566d56 (patch) | |
tree | 5ae643249c755797ece2704438d9e43763df3d3e /lib/pb-config/storage.h | |
parent | 63e13fa011e6a365979aa777752c00b7f2e49127 (diff) | |
download | talos-petitboot-4a2dbb71fdcf234302760d20333420a6e6566d56.tar.gz talos-petitboot-4a2dbb71fdcf234302760d20333420a6e6566d56.zip |
lib/pb-config: Implement config_set
This change adds config_set, to allow the configuration to be updated,
but calling the storage backend's save() method.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'lib/pb-config/storage.h')
-rw-r--r-- | lib/pb-config/storage.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pb-config/storage.h b/lib/pb-config/storage.h index a1d5269..5b4af56 100644 --- a/lib/pb-config/storage.h +++ b/lib/pb-config/storage.h @@ -7,6 +7,7 @@ struct config; struct config_storage { int (*load)(struct config_storage *st, struct config *config); + int (*save)(struct config_storage *st, struct config *config); }; struct config_storage *create_powerpc_nvram_storage(void *ctx); |