GRASS Programmer's Manual  6.4.2(2012)
actions.h
Go to the documentation of this file.
00001 
00002 /***************************************************************************
00003  *            actions.h
00004  *
00005  *  Mon Apr 18 15:29:34 2005
00006  *  Copyright  2005  Benjamin Ducke
00007  ****************************************************************************/
00008 
00009 /*
00010  *  This program is free software; you can redistribute it and/or modify
00011  *  it under the terms of the GNU General Public License as published by
00012  *  the Free Software Foundation; either version 2 of the License, or
00013  *  (at your option) any later version.
00014  *
00015  *  This program is distributed in the hope that it will be useful,
00016  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018  *  GNU Library General Public License for more details.
00019  *
00020  *  You should have received a copy of the GNU General Public License
00021  *  along with this program; if not, write to the Free Software
00022  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
00023  */
00024 
00025 #ifndef _ACTIONS_H
00026 #define _ACTIONS_H
00027 
00028 #include "globals.h"
00029 
00030 void check_extension(char *package, char *name, int *major, int *minor,
00031                      int *revision);
00032 
00033 void unpack_extension(char *package);
00034 
00035 void query_extension(char *package, char *name, int major, int minor,
00036                      int revision, char *short_name, char *invocation,
00037                      char *org_name);
00038 
00039 void source_install(char *package, char *gisbase, char *pkg_short_name,
00040                     int pkg_major, int pkg_minor, int pkg_revision,
00041                     char *grass_version);
00042 
00043 void bin_install(char *package, char *gisbase, char *bins,
00044                  char *pkg_short_name, int pkg_major, int pkg_minor,
00045                  int pkg_revision, char *grass_version);
00046 
00047 void test_install(char *package, char *gisbase, char *pkg_short_name,
00048                   int pkg_major, int pkg_minor, int pkg_revision,
00049                   char *grass_version);
00050 
00051 void uninstall(char *package, char *pkg_short_name, char *gisbase,
00052                char *grass_version);
00053 
00054 int source_clean(char *package);
00055 
00056 void restore(char *gisbase, char *grass_version);
00057 
00058 void list_extensions(char *gisbase);
00059 
00060 void run_post(char *package, int action, char *bins, char *gisbase);
00061 
00062 #endif /* _ACTIONS_H */
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines