diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-10-24 14:02:49 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-11-14 13:23:52 +1100 |
commit | 663197d945b6e393c1237c6b2b25f11567a449d7 (patch) | |
tree | bcea9455c08af8c88720ed919da6793f9c5c3003 /ui/common/discover-client.h | |
parent | c577cbee1e32fa85ba05698aa4ce298e1ebac3ed (diff) | |
download | talos-petitboot-663197d945b6e393c1237c6b2b25f11567a449d7.tar.gz talos-petitboot-663197d945b6e393c1237c6b2b25f11567a449d7.zip |
ui/ncurses: Parse configuration form & send to server
This change implements the configuration save action, when the user
submits the nc-config form.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/common/discover-client.h')
-rw-r--r-- | ui/common/discover-client.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/common/discover-client.h b/ui/common/discover-client.h index fa97fa5..68be8a5 100644 --- a/ui/common/discover-client.h +++ b/ui/common/discover-client.h @@ -75,4 +75,8 @@ int discover_client_boot(struct discover_client *client, /* Tell the discover server to cancel the default boot option, if any */ int discover_client_cancel_default(struct discover_client *client); + +/* Send new configuration data to the discover server */ +int discover_client_send_config(struct discover_client *client, + struct config *config); #endif |