summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/editstring.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/include/gpxe/editstring.h b/src/include/gpxe/editstring.h
index 7dc96d9aa..7f3c5dcb1 100644
--- a/src/include/gpxe/editstring.h
+++ b/src/include/gpxe/editstring.h
@@ -1,5 +1,5 @@
-#ifndef _EDITSTRING_H
-#define _EDITSTRING_H
+#ifndef _GPXE_EDITSTRING_H
+#define _GPXE_EDITSTRING_H
/** @file
*
@@ -15,8 +15,17 @@ struct edit_string {
size_t len;
/** Cursor position */
unsigned int cursor;
+
+ /* The following items are the edit history */
+
+ /** Last cursor position */
+ unsigned int last_cursor;
+ /** Start of modified portion of string */
+ unsigned int mod_start;
+ /** End of modified portion of string */
+ unsigned int mod_end;
};
extern int edit_string ( struct edit_string *string, int key );
-#endif /* _EDITSTRING_H */
+#endif /* _GPXE_EDITSTRING_H */