summaryrefslogtreecommitdiffstats
path: root/ui/common/discover-client.h
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>2014-07-24 15:05:39 +1000
committerJeremy Kerr <jk@ozlabs.org>2014-07-28 16:12:13 +0800
commit254c2c4233377ba71d0f1c96a77d885c91f9ad4a (patch)
treef6e79dbeba93f7709be8a9a261dd101be73bbd03 /ui/common/discover-client.h
parent0f5d4481891467000c50bf14548c236cfb3e70ad (diff)
downloadtalos-petitboot-254c2c4233377ba71d0f1c96a77d885c91f9ad4a.tar.gz
talos-petitboot-254c2c4233377ba71d0f1c96a77d885c91f9ad4a.zip
ui/ncurses: Add support for 'add-url' action
Creates a menu option to specify a remote conf file url to send to the server for parsing. Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/common/discover-client.h')
-rw-r--r--ui/common/discover-client.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/common/discover-client.h b/ui/common/discover-client.h
index d5c573f..542a275 100644
--- a/ui/common/discover-client.h
+++ b/ui/common/discover-client.h
@@ -87,4 +87,8 @@ int discover_client_send_config(struct discover_client *client,
* and ops->boot_option_add on each.
*/
void discover_client_enumerate(struct discover_client *client);
+
+/* Send url to config to the discover server */
+int discover_client_send_url(struct discover_client *client, char *url);
+
#endif
OpenPOWER on IntegriCloud