X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=blobdiff_plain;f=config%2Fexpr.h;h=bd2e098955532a26a3935e44ad58283598cbf673;hp=52f4246bd34da608b2b90a7de56270af0b27aab3;hb=72c3e74a3e87ada13732f812b123bb33ff174c03;hpb=c39bbd9df12751bec93d0de908e2117ac480477d diff --git a/config/expr.h b/config/expr.h index 52f4246..bd2e098 100644 --- a/config/expr.h +++ b/config/expr.h @@ -12,6 +12,7 @@ extern "C" { #include #include +#include #ifndef __cplusplus #include #endif @@ -173,6 +174,14 @@ struct menu { #define MENU_CHANGED 0x0001 #define MENU_ROOT 0x0002 +struct jump_key { + CIRCLEQ_ENTRY(jump_key) entries; + size_t offset; + struct menu *target; + int index; +}; +CIRCLEQ_HEAD(jk_head, jump_key); + #define JUMP_NB 9 extern struct file *file_list;