GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Go to the source code of this file.
Functions | |
int | is_submenu (char *item) |
int | check_ext_menu (char **tcl_lines) |
int | new_submenu (char *pkg_short_name, char *menu, char **tcl_lines) |
int | new_item (char *item, char *menu, char **tcl_lines, int line_no) |
void | register_entries_gisman (char *pkg_short_name, char *gisbase) |
void | register_entries_gisman2 (char *pkg_short_name, char *gisbase) |
int | deregister_entries_gisman (char *pkg_short_name, char *gisbase) |
void | deregister_entries_gisman2 (char *pkg_short_name, char *gisbase) |
int | restore_entries_gisman (char *gisbase) |
Variables | |
int | menu_created |
int check_ext_menu | ( | char ** | tcl_lines | ) |
Definition at line 57 of file reg_entries.c.
References ERR_REGISTER_ENTRIES_GISMAN, find_pos(), insert_str(), and print_error().
Referenced by register_entries_gisman(), and restore_entries_gisman().
int deregister_entries_gisman | ( | char * | pkg_short_name, |
char * | gisbase | ||
) |
Definition at line 461 of file reg_entries.c.
References delete_str(), ERR_DEREGISTER_ENTRIES_GISMAN, ERR_REGISTER_ENTRIES_GISMAN, errno, exit_db(), fclose(), file, find_pos(), free(), GISMAN_CMD, malloc(), MAXSTR, NULL, tools::pos, print_error(), print_warning(), sprintf(), TMP_GISMAN, TMP_NULL, and VERBOSE.
Referenced by uninstall().
void deregister_entries_gisman2 | ( | char * | pkg_short_name, |
char * | gisbase | ||
) |
Definition at line 653 of file reg_entries.c.
References ERR_DEREGISTER_ENTRIES_GISMAN2, errno, fclose(), file, GISMAN_CMD, MAXSTR, NULL, print_error(), sprintf(), and VERBOSE.
Referenced by uninstall().
int is_submenu | ( | char * | item | ) |
Definition at line 173 of file reg_entries.c.
References chop(), render::command, insert_str(), MAXSTR, NULL, print_warning(), and sprintf().
Referenced by append_item(), register_entries_gisman(), and restore_entries_gisman().
int new_submenu | ( | char * | pkg_short_name, |
char * | menu, | ||
char ** | tcl_lines | ||
) |
Definition at line 90 of file reg_entries.c.
References find_pos(), insert_str(), is_submenu(), MAXSTR, print_warning(), and sprintf().
Referenced by register_entries_gisman(), and restore_entries_gisman().
void register_entries_gisman | ( | char * | pkg_short_name, |
char * | gisbase | ||
) |
Definition at line 232 of file reg_entries.c.
References check_ext_menu(), ERR_REGISTER_ENTRIES_GISMAN, errno, exit_db(), fclose(), file, free(), GISMAN_CMD, malloc(), MAXSTR, menudata::menu, nc_fgets_nb(), new_item(), new_submenu(), NULL, print_error(), print_warning(), sprintf(), TMP_GISMAN, TMP_NULL, and VERBOSE.
Referenced by bin_install(), source_install(), and test_install().
void register_entries_gisman2 | ( | char * | pkg_short_name, |
char * | gisbase | ||
) |
Definition at line 415 of file reg_entries.c.
References ERR_REGISTER_ENTRIES_GISMAN2, errno, fclose(), file, GISMAN2_CMD, MAXSTR, NULL, print_error(), sprintf(), and VERBOSE.
Referenced by bin_install(), source_install(), and test_install().
int restore_entries_gisman | ( | char * | gisbase | ) |
Definition at line 692 of file reg_entries.c.
References check_ext_menu(), ERR_REGISTER_ENTRIES_GISMAN, errno, exit_db(), fclose(), file, free(), GISMAN_CMD, malloc(), MAXSTR, menudata::menu, nc_fgets_nb(), new_item(), new_submenu(), NULL, opendir(), print_error(), readdir(), sprintf(), TMP_GISMAN, TMP_NULL, and VERBOSE.
Referenced by restore().
int menu_created |
Definition at line 29 of file reg_entries.c.