OXIESEC PANEL
- Current Dir:
/
/
usr
/
src
/
linux-headers-4.15.0-197
/
scripts
/
kconfig
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
11/17/2022 06:42:23 AM
rwxr-xr-x
📄
.gitignore
154 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
Makefile
10.69 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
POTFILES.in
361 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
check.sh
249 bytes
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
conf.c
15.75 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
confdata.c
25.65 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
expr.c
27.25 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
expr.h
7.07 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
gconf.c
38.17 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
gconf.glade
25.04 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
images.c
6.41 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
kconf_id.c
1.89 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
kxgettext.c
4.1 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
list.h
3.66 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
lkc.h
4.48 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
lkc_proto.h
2.14 KB
01/28/2018 09:20:33 PM
rw-r--r--
📁
lxdialog
-
11/17/2022 06:42:23 AM
rwxr-xr-x
📄
mconf.c
27.74 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
menu.c
17.53 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
merge_config.sh
4.2 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
nconf.c
38.54 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
nconf.gui.c
14.77 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
nconf.h
1.87 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
qconf.cc
44.17 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
qconf.h
7.37 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
streamline_config.pl
16.17 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
symbol.c
30.36 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
util.c
2.91 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
zconf.l
6.9 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
zconf.lex.c_shipped
58.46 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
zconf.tab.c_shipped
70.17 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
zconf.y
16.01 KB
11/01/2022 04:52:05 PM
rw-r--r--
Editing: nconf.h
Close
/* * Copyright (C) 2008 Nir Tzachar <nir.tzachar@gmail.com? * Released under the terms of the GNU GPL v2.0. * * Derived from menuconfig. * */ #include <ctype.h> #include <errno.h> #include <fcntl.h> #include <limits.h> #include <stdarg.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <locale.h> #include <curses.h> #include <menu.h> #include <panel.h> #include <form.h> #include <stdio.h> #include <time.h> #include <sys/time.h> #include "ncurses.h" #define max(a, b) ({\ typeof(a) _a = a;\ typeof(b) _b = b;\ _a > _b ? _a : _b; }) #define min(a, b) ({\ typeof(a) _a = a;\ typeof(b) _b = b;\ _a < _b ? _a : _b; }) typedef enum { NORMAL = 1, MAIN_HEADING, MAIN_MENU_BOX, MAIN_MENU_FORE, MAIN_MENU_BACK, MAIN_MENU_GREY, MAIN_MENU_HEADING, SCROLLWIN_TEXT, SCROLLWIN_HEADING, SCROLLWIN_BOX, DIALOG_TEXT, DIALOG_MENU_FORE, DIALOG_MENU_BACK, DIALOG_BOX, INPUT_BOX, INPUT_HEADING, INPUT_TEXT, INPUT_FIELD, FUNCTION_TEXT, FUNCTION_HIGHLIGHT, ATTR_MAX } attributes_t; extern attributes_t attributes[]; typedef enum { F_HELP = 1, F_SYMBOL = 2, F_INSTS = 3, F_CONF = 4, F_BACK = 5, F_SAVE = 6, F_LOAD = 7, F_SEARCH = 8, F_EXIT = 9, } function_key; void set_colors(void); /* this changes the windows attributes !!! */ void print_in_middle(WINDOW *win, int starty, int startx, int width, const char *string, chtype color); int get_line_length(const char *line); int get_line_no(const char *text); const char *get_line(const char *text, int line_no); void fill_window(WINDOW *win, const char *text); int btn_dialog(WINDOW *main_window, const char *msg, int btn_num, ...); 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); void show_scroll_win(WINDOW *main_window, const char *title, const char *text);