GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
actions.h File Reference
#include "globals.h"
Include dependency graph for actions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void check_extension (char *package, char *name, int *major, int *minor, int *revision)
 
void unpack_extension (char *package)
 
void query_extension (char *package, char *name, int major, int minor, int revision, char *short_name, char *invocation, char *org_name)
 
void source_install (char *package, char *gisbase, char *pkg_short_name, int pkg_major, int pkg_minor, int pkg_revision, char *grass_version)
 
void bin_install (char *package, char *gisbase, char *bins, char *pkg_short_name, int pkg_major, int pkg_minor, int pkg_revision, char *grass_version)
 
void test_install (char *package, char *gisbase, char *pkg_short_name, int pkg_major, int pkg_minor, int pkg_revision, char *grass_version)
 
void uninstall (char *package, char *pkg_short_name, char *gisbase, char *grass_version)
 
int source_clean (char *package)
 
void restore (char *gisbase, char *grass_version)
 
void list_extensions (char *gisbase)
 
void run_post (char *package, int action, char *bins, char *gisbase)
 

Function Documentation

void check_extension ( char *  package,
char *  name,
int major,
int minor,
int revision 
)
void list_extensions ( char *  gisbase)

Definition at line 1022 of file actions.c.

References dump_ascii(), ERR_LIST, errno, fclose(), file, MAXSTR, NULL, print_error(), and sprintf().

Referenced by main().

void query_extension ( char *  package,
char *  name,
int  major,
int  minor,
int  revision,
char *  short_name,
char *  invocation,
char *  org_name 
)

Definition at line 201 of file actions.c.

References basename(), dump_ascii(), ERR_NO_ACCESS_EXT, errno, list_binaries(), MAXSTR, print_error(), and sprintf().

Referenced by main().

void restore ( char *  gisbase,
char *  grass_version 
)
void run_post ( char *  package,
int  action,
char *  bins,
char *  gisbase 
)
int source_clean ( char *  package)

Definition at line 907 of file actions.c.

References basename(), ERR_MISSING_CMD, ERR_NO_ACCESS_EXT, MAKE_CMD, MAXSTR, print_done(), print_error(), sprintf(), TMP_NULL, and VERBOSE.

Referenced by main().

void uninstall ( char *  package,
char *  pkg_short_name,
char *  gisbase,
char *  grass_version 
)
void unpack_extension ( char *  package)