GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Go to the source code of this file.
Functions | |
char * | depstr (char *package, char *gisbase) |
void | register_extension (char *gisbase, char *bins, char *pkg_short_name, int pkg_major, int pkg_minor, int pkg_revision) |
void | deregister_extension (char *package, char *pkg_short_name, char *gisbase) |
void | check_dependencies (char *package, char *gisbase, char *grass_version) |
void check_dependencies | ( | char * | package, |
char * | gisbase, | ||
char * | grass_version | ||
) |
Definition at line 340 of file reg_deps.c.
References ERR_CHECK_DEPS, ERR_MISSING_DEPS, errno, fclose(), file, FORCE, MAXSTR, nc_fgets_nb(), NULL, print_error(), sprintf(), and vercmp().
Referenced by bin_install(), source_install(), and test_install().
char* depstr | ( | char * | package, |
char * | gisbase | ||
) |
Definition at line 32 of file reg_deps.c.
References ERR_CHECK_DEPS, errno, fclose(), file, first, malloc(), MAXSTR, nc_fgets_nb(), NULL, print_error(), and sprintf().
Referenced by register_extension().
void deregister_extension | ( | char * | package, |
char * | pkg_short_name, | ||
char * | gisbase | ||
) |
Definition at line 235 of file reg_deps.c.
References ERR_DEREGISTER_EXT, errno, exit_db(), fclose(), file, FORCE, MAXSTR, nc_fgets_nb(), NULL, print_error(), sprintf(), and TMPDB.
Referenced by uninstall().
void register_extension | ( | char * | gisbase, |
char * | bins, | ||
char * | pkg_short_name, | ||
int | pkg_major, | ||
int | pkg_minor, | ||
int | pkg_revision | ||
) |
Definition at line 87 of file reg_deps.c.
References depstr(), ERR_EXISTS_EXT, ERR_REGISTER_EXT, errno, exit_db(), fclose(), file, FORCE, MAXSTR, nc_fgets_nb(), NULL, print_error(), sprintf(), TMPDB, and vercmp().
Referenced by bin_install(), source_install(), and test_install().