iPXE
Functions
settings_ui.h File Reference

Option configuration console. More...

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 
int settings_ui (struct settings *settings) __nonnull
 

Detailed Description

Option configuration console.

Definition in file settings_ui.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

◆ settings_ui()

int settings_ui ( struct settings settings)

Definition at line 548 of file settings_ui.c.

548  {
549  int rc;
550 
551  initscr();
552  start_color();
554  curs_set ( 0 );
555  erase();
556 
557  rc = main_loop ( settings );
558 
559  endwin();
560 
561  return rc;
562 }
struct arbelprm_rc_send_wqe rc
Definition: arbel.h:14
int erase(void)
Completely clear the screen.
Definition: clear.c:97
static int main_loop(struct settings *settings)
Definition: settings_ui.c:443
#define start_color()
Definition: curses.h:396
int endwin(void)
Finalise console environment.
Definition: wininit.c:31
#define CPAIR_NORMAL
Normal text.
Definition: ansicol.h:40
WINDOW * initscr(void)
Initialise console environment.
Definition: wininit.c:17
A settings block.
Definition: settings.h:132
int curs_set(int visibility)
Set cursor visibility.
Definition: mucurses.c:153
#define color_set(cpno, opts)
Definition: curses.h:240
#define NULL
NULL pointer (VOID *)
Definition: Base.h:362

References color_set, CPAIR_NORMAL, curs_set(), endwin(), erase(), initscr(), main_loop(), NULL, rc, and start_color.