iPXE
Data Fields
edit_string Struct Reference

An editable string. More...

#include <editstring.h>

Data Fields

char * buf
 Buffer for string.
size_t len
 Size of buffer (including terminating NUL)
unsigned int cursor
 Cursor position.
unsigned int last_cursor
 Last cursor position.
unsigned int mod_start
 Start of modified portion of string.
unsigned int mod_end
 End of modified portion of string.

Detailed Description

An editable string.

Definition at line 13 of file editstring.h.


Field Documentation

Buffer for string.

Definition at line 15 of file editstring.h.

Referenced by draw_editbox(), edit_string(), insert_delete(), previous_word(), and sync_console().

Size of buffer (including terminating NUL)

Definition at line 17 of file editstring.h.

unsigned int edit_string::cursor

Cursor position.

Definition at line 19 of file editstring.h.

Referenced by backspace(), draw_editbox(), edit_string(), init_editbox(), insert_delete(), kill_word(), previous_word(), and sync_console().

Last cursor position.

Definition at line 24 of file editstring.h.

Referenced by sync_console().

unsigned int edit_string::mod_start

Start of modified portion of string.

Definition at line 26 of file editstring.h.

unsigned int edit_string::mod_end

End of modified portion of string.

Definition at line 28 of file editstring.h.


The documentation for this struct was generated from the following file: