menuconfig: Replace CIRCLEQ by list_head-style lists.
[carl9170fw.git] / config / expr.h
index 80fce57080cc36787e01efc00fe8a111efa3d0ff..cdd48600e02a9bd842f2e43ab6b7f263949451ec 100644 (file)
@@ -10,7 +10,9 @@
 extern "C" {
 #endif
 
+#include <assert.h>
 #include <stdio.h>
+#include "list.h"
 #ifndef __cplusplus
 #include <stdbool.h>
 #endif
@@ -172,6 +174,15 @@ struct menu {
 #define MENU_CHANGED           0x0001
 #define MENU_ROOT              0x0002
 
+struct jump_key {
+       struct list_head entries;
+       size_t offset;
+       struct menu *target;
+       int index;
+};
+
+#define JUMP_NB                        9
+
 extern struct file *file_list;
 extern struct file *current_file;
 struct file *lookup_file(const char *name);