iPXE
Data Fields
line_console Struct Reference

A line-based console. More...

#include <lineconsole.h>

Data Fields

char * buffer
 Data buffer. More...
 
size_t index
 Current index within buffer. More...
 
size_t len
 Length of buffer. More...
 
struct ansiesc_context ctx
 ANSI escape sequence context. More...
 

Detailed Description

A line-based console.

Definition at line 16 of file lineconsole.h.

Field Documentation

◆ buffer

char* line_console::buffer

Data buffer.

Must initially be filled with NULs

Definition at line 21 of file lineconsole.h.

Referenced by line_putchar().

◆ index

size_t line_console::index

Current index within buffer.

Definition at line 23 of file lineconsole.h.

Referenced by line_putchar().

◆ len

size_t line_console::len

Length of buffer.

The final character of the buffer will only ever be used as a potential terminating NUL.

Definition at line 29 of file lineconsole.h.

Referenced by line_putchar().

◆ ctx

struct ansiesc_context line_console::ctx

ANSI escape sequence context.

Definition at line 31 of file lineconsole.h.

Referenced by line_putchar().


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