summaryrefslogtreecommitdiffstats
path: root/scripts/config/nconf.h
diff options
context:
space:
mode:
authorEneas U de Queiroz <cotequeiroz@gmail.com>2024-02-16 14:32:07 -0300
committerRobert Marko <robimarko@gmail.com>2024-03-01 19:02:00 +0100
commit65a3eb28d5ec276c960e992fc99d0d042f5c863f (patch)
tree7cd34aea8d6358dcb0d69e7ef15ecb75bdc60e68 /scripts/config/nconf.h
parentff6df9ac9f677d8dd905e58b2d7c01417528e32d (diff)
downloadopenwrt-65a3eb28d5ec276c960e992fc99d0d042f5c863f.tar.gz
openwrt-65a3eb28d5ec276c960e992fc99d0d042f5c863f.tar.bz2
openwrt-65a3eb28d5ec276c960e992fc99d0d042f5c863f.zip
build: scripts/config - update to kconfig-v6.6.16
The main goal here is to keep this close to upstream. Changes include: - allow symbols implied by y to become m - make 'imply' obey the direct dependency - allow only 'config', 'comment', and 'if' inside 'choice' - qconf: make search fully work again on split mode - qconf: navigate menus on hyperlinks - remove '---help---' support - qconf: allow to edit "int", "hex", "string" menus in-place - qconf: drop Qt4 support - nconf: fix core dump when searching in empty menu - nconf: stop endless search loops - Create links to main menu items in search - fix segmentation fault in menuconfig search - nconf: Add search jump feature - port qconf to work with Qt6 in addition to Qt5 - fix possible buffer overflow - fix memory leak from range properties Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Diffstat (limited to 'scripts/config/nconf.h')
-rw-r--r--scripts/config/nconf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/config/nconf.h b/scripts/config/nconf.h
index 6e127c63d5..174b035fde 100644
--- a/scripts/config/nconf.h
+++ b/scripts/config/nconf.h
@@ -67,6 +67,8 @@ typedef enum {
void set_colors(void);
+typedef int (*extra_key_cb_fn)(int, size_t, size_t, void *);
+
/* this changes the windows attributes !!! */
void print_in_middle(WINDOW *win, int y, int width, const char *str, int attrs);
int get_line_length(const char *line);
@@ -78,6 +80,9 @@ int dialog_inputbox(WINDOW *main_window,
const char *title, const char *prompt,
const char *init, char **resultp, int *result_len);
void refresh_all_windows(WINDOW *main_window);
+int show_scroll_win_ext(WINDOW *main_window, const char *title, char *text,
+ int *vscroll, int *hscroll,
+ extra_key_cb_fn extra_key_cb, void *data);
void show_scroll_win(WINDOW *main_window,
const char *title,
const char *text);