#include <sys/ioctl.h>
#include <sys/wait.h>
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <signal.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <termios.h>
#include <unistd.h>
#include "lkc.h"
Include dependency graph for mconf.c:
Go to the source code of this file.
Defines | |
#define | LKC_DIRECT_LINK |
Functions | |
void | conf (struct menu *menu) |
void | conf_choice (struct menu *menu) |
void | conf_string (struct menu *menu) |
void | conf_load (void) |
void | conf_save (void) |
void | show_textbox (const char *title, const char *text, int r, int c) |
void | show_helptext (const char *title, const char *text) |
void | show_help (struct menu *menu) |
void | show_readme (void) |
void | cprint_init (void) |
int | cprint1 (const char *fmt,...) |
void | cprint_done (void) |
int | cprint (const char *fmt,...) |
void | init_wsize (void) |
void | winch_handler (int sig) |
int | exec_conf (void) |
void | build_conf (struct menu *menu) |
void | conf_cleanup (void) |
int | main (int ac, char **av) |
Variables | |
char | menu_backtitle [128] |
const char | menu_instructions [] |
char | buf [4096] |
char * | bufptr = buf |
char | input_buf [4096] |
char | filename [PATH_MAX+1] = ".config" |
char * | args [1024] |
char ** | argptr = args |
int | indent = 0 |
termios | ios_org |
int | rows |
int | cols |
menu * | curr_menu |
int | child_count |
int | do_resize |
int | single_menu_mode |
pid_t | pid |
|
|
Definition at line 279 of file mconf.c. References child_count, cprint(), cprint1(), cprint_done(), curr_menu, menu::data, indent, menu::list, menu_get_prompt(), menu_is_visible(), mod, menu::next, no, P_MENU, menu::prompt, S_BOOLEAN, S_TRISTATE, single_menu_mode, menu::sym, sym_get_choice_value(), sym_get_string_value(), sym_get_tristate_value(), sym_get_type(), sym_has_value(), sym_is_changable(), sym_is_choice(), sym_is_choice_value(), tristate, property::type, and yes. Referenced by conf(). Here is the call graph for this function: ![]() |
|
Definition at line 435 of file mconf.c. References build_conf(), child_count, cols, conf_choice(), conf_load(), conf_save(), conf_string(), cprint(), cprint_init(), curr_menu, exec_conf(), input_buf, menu_get_prompt(), menu_instructions, mod, no, P_MENU, rootmenu, rows, show_help(), show_readme(), show_textbox(), single_menu_mode, sym_get_tristate_value(), sym_is_choice(), sym_set_tristate_value(), sym_toggle_tristate_value(), and yes. Referenced by check_conf(), conf(), conf_choice(), and main(). Here is the call graph for this function: ![]() |
|
Definition at line 603 of file mconf.c. References cprint(), cprint_init(), curr_menu, exec_conf(), input_buf, menu_get_prompt(), menu_is_visible(), show_help(), sym_get_choice_value(), sym_set_tristate_value(), and yes. Referenced by conf(). Here is the call graph for this function: ![]() |
|
Definition at line 746 of file mconf.c. References ios_org. Referenced by main(). |
|
Definition at line 688 of file mconf.c. References conf_read(), cprint(), cprint_init(), exec_conf(), filename, input_buf, show_helptext(), and show_textbox(). Referenced by conf(). Here is the call graph for this function: ![]() |
|
Definition at line 717 of file mconf.c. References conf_write(), cprint(), cprint_init(), exec_conf(), filename, input_buf, show_helptext(), and show_textbox(). Referenced by conf(). Here is the call graph for this function: ![]() |
|
Definition at line 161 of file conf.c. References conf_askvalue(), symbol::help, indent, line, nohelp_text, menu::prompt, menu::sym, sym_get_string_value(), sym_set_string_value(), and property::text. Referenced by conf(). Here is the call graph for this function: ![]() |
|
Definition at line 181 of file mconf.c. References argptr, and bufptr. Referenced by build_conf(), conf(), conf_choice(), conf_load(), conf_save(), cprint_init(), main(), show_readme(), and show_textbox(). |
|
Definition at line 160 of file mconf.c. References argptr, and bufptr. Referenced by build_conf(). |
|
Definition at line 175 of file mconf.c. References argptr, and bufptr. Referenced by build_conf(). |
|
Definition at line 148 of file mconf.c. References argptr, args, buf, bufptr, child_count, cprint(), indent, and menu_backtitle. Referenced by conf(), conf_choice(), conf_load(), conf_save(), main(), show_readme(), and show_textbox(). Here is the call graph for this function: ![]() |
|
Definition at line 206 of file mconf.c. References argptr, args, bufptr, do_resize, errno, init_wsize(), input_buf, pid, and winch_handler(). Referenced by conf(), conf_choice(), conf_load(), conf_save(), main(), show_readme(), and show_textbox(). Here is the call graph for this function: ![]() |
|
Definition at line 111 of file mconf.c. Referenced by exec_conf(), and main(). |
|
Definition at line 753 of file mconf.c. References conf(), conf_cleanup(), conf_parse(), conf_read(), conf_write(), cprint(), cprint_init(), exec_conf(), init_wsize(), ios_org, menu_backtitle, rootmenu, single_menu_mode, sym_calc_value(), sym_get_string_value(), and sym_lookup(). Here is the call graph for this function: ![]() |
|
Definition at line 574 of file mconf.c. References symbol::help, menu_get_prompt(), show_helptext(), and menu::sym. Referenced by conf(), and conf_choice(). Here is the call graph for this function: ![]() |
|
Definition at line 569 of file mconf.c. References cols, rows, show_textbox(), and text. Referenced by conf_load(), conf_save(), and show_help(). Here is the call graph for this function: ![]() |
|
Definition at line 592 of file mconf.c. References cols, cprint(), cprint_init(), exec_conf(), and rows. Referenced by conf(). Here is the call graph for this function: ![]() |
|
Definition at line 548 of file mconf.c. References cprint(), cprint_init(), exec_conf(), and text. Referenced by conf(), conf_load(), conf_save(), and show_helptext(). Here is the call graph for this function: ![]() |
|
Definition at line 198 of file mconf.c. References do_resize, and pid. Referenced by exec_conf(). |
|
Definition at line 87 of file mconf.c. Referenced by cprint(), cprint1(), cprint_done(), cprint_init(), and exec_conf(). |
|
Definition at line 87 of file mconf.c. Referenced by cprint_init(), and exec_conf(). |
|
Definition at line 84 of file mconf.c. Referenced by cprint_init(). |
|
Definition at line 84 of file mconf.c. Referenced by cprint(), cprint1(), cprint_done(), cprint_init(), and exec_conf(). |
|
Definition at line 92 of file mconf.c. Referenced by build_conf(), conf(), and cprint_init(). |
|
Definition at line 90 of file mconf.c. Referenced by conf(), init_wsize(), show_helptext(), and show_readme(). |
|
Definition at line 91 of file mconf.c. Referenced by build_conf(), conf(), and conf_choice(). |
|
Definition at line 93 of file mconf.c. Referenced by exec_conf(), and winch_handler(). |
|
Definition at line 86 of file mconf.c. Referenced by conf_load(), and conf_save(). |
|
Definition at line 88 of file mconf.c. Referenced by build_conf(), and cprint_init(). |
|
Definition at line 85 of file mconf.c. Referenced by conf(), conf_choice(), conf_load(), conf_save(), and exec_conf(). |
|
Definition at line 89 of file mconf.c. Referenced by conf_cleanup(), and main(). |
|
Definition at line 25 of file mconf.c. Referenced by cprint_init(), and main(). |
|
Definition at line 26 of file mconf.c. Referenced by conf(). |
|
Definition at line 196 of file mconf.c. Referenced by exec_conf(), lxrt_Proxy_detach(), main(), rt_Creceive(), rt_force_task_soft(), rt_insert_tasklet(), rt_insert_timer(), rt_Name_detach(), rt_Proxy_attach(), rt_Proxy_detach(), rt_Receive(), rt_Reply(), rt_Send(), rt_Trigger(), rt_vc_attach(), rt_vc_release(), and winch_handler(). |
|
Definition at line 90 of file mconf.c. Referenced by conf(), init_wsize(), show_helptext(), and show_readme(). |
|
Definition at line 94 of file mconf.c. Referenced by build_conf(), conf(), and main(). |