summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/ansiesc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/ipxe/ansiesc.h b/src/include/ipxe/ansiesc.h
index c00af258a..1a5a9a1b7 100644
--- a/src/include/ipxe/ansiesc.h
+++ b/src/include/ipxe/ansiesc.h
@@ -28,6 +28,8 @@
FILE_LICENCE ( GPL2_OR_LATER );
+struct ansiesc_context;
+
/** A handler for an escape sequence */
struct ansiesc_handler {
/** The control function identifier
@@ -42,6 +44,7 @@ struct ansiesc_handler {
unsigned int function;
/** Handle escape sequence
*
+ * @v ctx ANSI escape context
* @v count Parameter count
* @v params Parameter list
*
@@ -54,7 +57,8 @@ struct ansiesc_handler {
* omitted". Consequently, the parameter list will always
* contain at least one item.
*/
- void ( * handle ) ( unsigned int count, int params[] );
+ void ( * handle ) ( struct ansiesc_context *ctx, unsigned int count,
+ int params[] );
};
/** Maximum number of parameters within a single escape sequence */