summaryrefslogtreecommitdiffstats
path: root/src/hci/tui
diff options
context:
space:
mode:
authorHolger Lubitz2007-08-20 00:34:17 +0200
committerHolger Lubitz2007-08-20 00:34:17 +0200
commit3559beeb0ff34523e738b28c78ee916f19352753 (patch)
tree0b60fb10d9d50353647538abb484c68d191ba7ec /src/hci/tui
parent__nonnull changes (diff)
downloadipxe-3559beeb0ff34523e738b28c78ee916f19352753.tar.gz
ipxe-3559beeb0ff34523e738b28c78ee916f19352753.tar.xz
ipxe-3559beeb0ff34523e738b28c78ee916f19352753.zip
__nonnull changes
Diffstat (limited to 'src/hci/tui')
-rw-r--r--src/hci/tui/settings_ui.c19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/hci/tui/settings_ui.c b/src/hci/tui/settings_ui.c
index 3524f3c3..336af4e9 100644
--- a/src/hci/tui/settings_ui.c
+++ b/src/hci/tui/settings_ui.c
@@ -36,7 +36,6 @@
#include <gpxe/nvo.h>
extern struct nvo_block *ugly_nvo_hack;
-
/* Colour pairs */
#define CPAIR_NORMAL 1
#define CPAIR_SELECT 2
@@ -88,6 +87,24 @@ static struct config_setting config_settings_end[0]
__table_end ( struct config_setting, config_settings );
#define NUM_SETTINGS ( ( unsigned ) ( config_settings_end - config_settings ) )
+static void load_setting ( struct setting_widget *widget ) __nonnull;
+static int save_setting ( struct setting_widget *widget ) __nonnull;
+static void init_setting ( struct setting_widget *widget,
+ struct config_context *context,
+ struct config_setting *setting,
+ unsigned int row, unsigned int col ) __nonnull;
+static void draw_setting ( struct setting_widget *widget ) __nonnull;
+static int edit_setting ( struct setting_widget *widget, int key ) __nonnull;
+static void init_setting_index ( struct setting_widget *widget,
+ struct config_context *context,
+ unsigned int index ) __nonnull;
+static void vmsg ( unsigned int row, const char *fmt, va_list args ) __nonnull;
+static void msg ( unsigned int row, const char *fmt, ... ) __nonnull;
+static void valert ( const char *fmt, va_list args ) __nonnull;
+static void alert ( const char *fmt, ... ) __nonnull;
+static void draw_info_row ( struct config_setting *setting ) __nonnull;
+static int main_loop ( struct config_context *context ) __nonnull;
+
/**
* Load setting widget value from configuration context
*