xref: /linux/scripts/kconfig/mnconf-common.h (revision fbaf242c956aff6a07d9e97eaa3a0a48d947de33)
16c07fd84SMasahiro Yamada /* SPDX-License-Identifier: GPL-2.0-only */
26c07fd84SMasahiro Yamada #ifndef MNCONF_COMMON_H
36c07fd84SMasahiro Yamada #define MNCONF_COMMON_H
46c07fd84SMasahiro Yamada 
56c07fd84SMasahiro Yamada #include <stddef.h>
66c07fd84SMasahiro Yamada 
7*fbaf242cSMasahiro Yamada #include <list_types.h>
8*fbaf242cSMasahiro Yamada 
96c07fd84SMasahiro Yamada struct search_data {
106c07fd84SMasahiro Yamada 	struct list_head *head;
116c07fd84SMasahiro Yamada 	struct menu *target;
126c07fd84SMasahiro Yamada };
136c07fd84SMasahiro Yamada 
146c07fd84SMasahiro Yamada extern int jump_key_char;
156c07fd84SMasahiro Yamada 
166c07fd84SMasahiro Yamada int next_jump_key(int key);
176c07fd84SMasahiro Yamada int handle_search_keys(int key, size_t start, size_t end, void *_data);
186c07fd84SMasahiro Yamada int get_jump_key_char(void);
196c07fd84SMasahiro Yamada 
206c07fd84SMasahiro Yamada #endif /* MNCONF_COMMON_H */
21