iPXE
Data Fields
edit_string Struct Reference

An editable string. More...

#include <editstring.h>

Data Fields

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

Detailed Description

An editable string.

Definition at line 13 of file editstring.h.

Field Documentation

◆ buf

char* edit_string::buf

Buffer for string.

Definition at line 15 of file editstring.h.

Referenced by readline_history().

◆ len

size_t edit_string::len

Size of buffer (including terminating NUL)

Definition at line 17 of file editstring.h.

◆ cursor

unsigned int edit_string::cursor

Cursor position.

Definition at line 19 of file editstring.h.

◆ last_cursor

unsigned int edit_string::last_cursor

Last cursor position.

Definition at line 24 of file editstring.h.

◆ mod_start

unsigned int edit_string::mod_start

Start of modified portion of string.

Definition at line 26 of file editstring.h.

◆ mod_end

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: