1 #ifndef _IPXE_LINECONSOLE_H
2 #define _IPXE_LINECONSOLE_H
10 FILE_LICENCE ( GPL2_OR_LATER );
13 #include <ipxe/ansiesc.h>
15 /** A line-based console */
19 * Must initially be filled with NULs
22 /** Current index within buffer */
26 * The final character of the buffer will only ever be used as
27 * a potential terminating NUL.
30 /** ANSI escape sequence context */
31 struct ansiesc_context ctx;
34 extern size_t line_putchar ( struct line_console *line, int character );
36 #endif /* _IPXE_LINECONSOLE_H */