diff options
author | Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> | 2014-07-24 15:05:39 +1000 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2014-07-28 16:12:13 +0800 |
commit | 254c2c4233377ba71d0f1c96a77d885c91f9ad4a (patch) | |
tree | f6e79dbeba93f7709be8a9a261dd101be73bbd03 /ui/ncurses/nc-add-url.h | |
parent | 0f5d4481891467000c50bf14548c236cfb3e70ad (diff) | |
download | talos-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/ncurses/nc-add-url.h')
-rw-r--r-- | ui/ncurses/nc-add-url.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/ui/ncurses/nc-add-url.h b/ui/ncurses/nc-add-url.h new file mode 100644 index 0000000..319dd42 --- /dev/null +++ b/ui/ncurses/nc-add-url.h @@ -0,0 +1,31 @@ +/* + * Copyright (C) 2013 IBM Corporation + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#ifndef _NC_ADD_URL_H +#define _NC_ADD_URL_H + +#include "nc-cui.h" + +struct add_url_screen; + +struct add_url_screen *add_url_screen_init(struct cui *cui, + void (*on_exit)(struct cui *)); + +struct nc_scr *add_url_screen_scr(struct add_url_screen *screen); +void add_url_screen_update(struct add_url_screen *screen); + +#endif /* defined _NC_ADD_URL_H */ |