X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=config%2Fexpr.h;h=cdd48600e02a9bd842f2e43ab6b7f263949451ec;hb=65b220ac9d14532bd798a48e17d0f7b361771b7a;hp=d4ecce8bc3a689daa2157e4f47e65e7c62192bd4;hpb=bb8077d7e3a3b8cab3fb3c3065c99fce9aeed2bc;p=carl9170fw.git diff --git a/config/expr.h b/config/expr.h index d4ecce8..cdd4860 100644 --- a/config/expr.h +++ b/config/expr.h @@ -12,6 +12,7 @@ extern "C" { #include #include +#include "list.h" #ifndef __cplusplus #include #endif @@ -173,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);