diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-06-21 08:51:15 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-06-21 08:51:19 +0200 |
commit | 34870a5ec7169245ac8b3f4b7d6ec1435c184bdd (patch) | |
tree | bca8484583a59f36717b45442c3723bd2d5dcf43 /scripts/kconfig/expr.h | |
parent | 7c3603a199873319cbff82fe07a887ccf3452b9b (diff) | |
download | barebox-34870a5ec7169245ac8b3f4b7d6ec1435c184bdd.tar.gz barebox-34870a5ec7169245ac8b3f4b7d6ec1435c184bdd.tar.xz |
kconfig: sync to linux v3.10-rc6
This brings us some new features like directly jumping to search results.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/kconfig/expr.h')
-rw-r--r-- | scripts/kconfig/expr.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h index 80fce57080..cdd48600e0 100644 --- a/scripts/kconfig/expr.h +++ b/scripts/kconfig/expr.h @@ -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); |