GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
actions.h
Go to the documentation of this file.
1 
2 /***************************************************************************
3  * actions.h
4  *
5  * Mon Apr 18 15:29:34 2005
6  * Copyright 2005 Benjamin Ducke
7  ****************************************************************************/
8 
9 /*
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU Library General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, write to the Free Software
22  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23  */
24 
25 #ifndef _ACTIONS_H
26 #define _ACTIONS_H
27 
28 #include "globals.h"
29 
30 void check_extension(char *package, char *name, int *major, int *minor,
31  int *revision);
32 
33 void unpack_extension(char *package);
34 
35 void query_extension(char *package, char *name, int major, int minor,
36  int revision, char *short_name, char *invocation,
37  char *org_name);
38 
39 void source_install(char *package, char *gisbase, char *pkg_short_name,
40  int pkg_major, int pkg_minor, int pkg_revision,
41  char *grass_version);
42 
43 void bin_install(char *package, char *gisbase, char *bins,
44  char *pkg_short_name, int pkg_major, int pkg_minor,
45  int pkg_revision, char *grass_version);
46 
47 void test_install(char *package, char *gisbase, char *pkg_short_name,
48  int pkg_major, int pkg_minor, int pkg_revision,
49  char *grass_version);
50 
51 void uninstall(char *package, char *pkg_short_name, char *gisbase,
52  char *grass_version);
53 
54 int source_clean(char *package);
55 
56 void restore(char *gisbase, char *grass_version);
57 
58 void list_extensions(char *gisbase);
59 
60 void run_post(char *package, int action, char *bins, char *gisbase);
61 
62 #endif /* _ACTIONS_H */
void query_extension(char *package, char *name, int major, int minor, int revision, char *short_name, char *invocation, char *org_name)
Definition: actions.c:201
void source_install(char *package, char *gisbase, char *pkg_short_name, int pkg_major, int pkg_minor, int pkg_revision, char *grass_version)
Definition: actions.c:263
void list_extensions(char *gisbase)
Definition: actions.c:1022
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)
Definition: actions.c:475
string action
string name
Definition: render.py:1314
void uninstall(char *package, char *pkg_short_name, char *gisbase, char *grass_version)
Definition: actions.c:812
void test_install(char *package, char *gisbase, char *pkg_short_name, int pkg_major, int pkg_minor, int pkg_revision, char *grass_version)
Definition: actions.c:636
tuple gisbase
Definition: forms.py:59
void unpack_extension(char *package)
Definition: actions.c:88
void check_extension(char *package, char *name, int *major, int *minor, int *revision)
Definition: actions.c:29
void restore(char *gisbase, char *grass_version)
Definition: actions.c:952
void run_post(char *package, int action, char *bins, char *gisbase)
Definition: actions.c:1057
int source_clean(char *package)
Definition: actions.c:907