00001 00019 #ifndef VARABLED_H 00020 #define VARABLED_H 00021 //find all variables 00022 MENU_L_LIST *build_list_of_all_leaves(); 00023 MENU_ROOT *build_main_var_menu( //build menus 00024 MENU_L_LIST *all_leaves_list); 00025 00026 void extract_sublist( //remove initial items 00027 MENU_L_LIST *source_list, //source list 00028 char *leading_str, //string to match 00029 MENU_L_LIST *extracted_list //extracted list 00030 ); 00031 void get_first_words( //copy first N words 00032 const char *s, //source string 00033 int n, //number of words 00034 char *t //target string 00035 ); 00036 int menu_item_sorter( //sorter 00037 const void *item1, 00038 const void *item2); 00039 void start_variables_editor(); //create top level win 00040 #endif