43 #include <sys/types.h>
57 #define PROGVERSION 1.03
70 #define TEST_INSTALL 8
77 #define ERR_INVOCATION -1
78 #define ERR_NO_ACCESS_EXT -2
79 #define ERR_CONFIGURE_EXT -3
80 #define ERR_COMPILE_EXT -4
81 #define ERR_INSTALL_EXT -5
82 #define ERR_INVALID_EXT -6
83 #define ERR_UNPACK_EXT -7
84 #define ERR_RM_TMPDIR -8
85 #define ERR_MISSING_CMD -9
86 #define ERR_NO_LICENSE -10
87 #define ERR_VERSION -11
88 #define ERR_MISSING_BINS -12
89 #define ERR_UNINSTALL_EXT -13
91 #define ERR_REGISTER_EXT -15
92 #define ERR_EXISTS_EXT -16
93 #define ERR_CHECK_DEPS -17
94 #define ERR_MISSING_DEPS -18
95 #define ERR_DEREGISTER_EXT -19
96 #define ERR_DOWNLOAD -20
97 #define ERR_REGISTER_ENTRIES_GISMAN -21
98 #define ERR_DEREGISTER_ENTRIES_GISMAN -22
99 #define ERR_DUMP_PLAIN_TXT -23
100 #define ERR_REGISTER_HTML -24
101 #define ERR_DEREGISTER_HTML -25
102 #define ERR_RESTORE -26
103 #define ERR_MISSING_CFG -27
104 #define ERR_DUMP_HTML -28
106 #define ERR_TMPFILE -30
107 #define ERR_RM_TMPFILE -31
108 #define ERR_REGISTER_ENTRIES_GISMAN2 -32
109 #define ERR_DEREGISTER_ENTRIES_GISMAN2 -33
111 #define TYPE_UNKNOWN 0
117 #define TOKEN_SUBMENU 0
118 #define TOKEN_ENTRY 1
119 #define TOKEN_COMMAND 2
120 #define TOKEN_SEPARATOR 3
EXTERN char GINSTALL_LIB[MAXSTR]
EXTERN char INSTALL_TYPE[MAXSTR]
EXTERN char GEM_VERBOSE[MAXSTR]
EXTERN char GEM_EXT_BUGS[MAXSTR]
EXTERN char CONFIG_OPTS[MAXSTR]
EXTERN char CONFIG_CMD[MAXSTR]
EXTERN char TMPDIR[MAXSTR]
EXTERN char GISMAN2_CMD[MAXSTR]
EXTERN char TMP_NULL[MAXSTR]
EXTERN char GEM_EXT_INFO[MAXSTR]
EXTERN char TMP_HTML[MAXSTR]
EXTERN char GEM_ACTION[MAXSTR]
EXTERN char GEM_EXT_DESCR[MAXSTR]
EXTERN char QGIS_CMD[MAXSTR]
EXTERN char UNINSTALL_CMD[MAXSTR]
EXTERN char GEM_EXT_DEPS[MAXSTR]
EXTERN char TMP_AUTHORS[MAXSTR]
EXTERN char TMP_BUGS[MAXSTR]
EXTERN char HTML_CMD[MAXSTR]
EXTERN char GINSTALL_DST[MAXSTR]
EXTERN char UNINSTALL_BASE[MAXSTR]
EXTERN char GEM_EXT_NAME[MAXSTR]
EXTERN char TMP_DESCR[MAXSTR]
EXTERN char TMPDB[MAXSTR]
EXTERN char MAKE_CMD[MAXSTR]
EXTERN char GEM_EXT_AUTHORS[MAXSTR]
EXTERN char GEM_GUI[MAXSTR]
EXTERN char EXT_BASE[MAXSTR]
EXTERN char GINSTALL_INC[MAXSTR]
EXTERN char TMP_INFO[MAXSTR]
EXTERN char INSTALL_BASE[MAXSTR]
EXTERN char GEM_FORCE[MAXSTR]
EXTERN char TMP_DEPS[MAXSTR]
EXTERN char GEM_C_OPTS[MAXSTR]
EXTERN char GEM_GRASS_DIR[MAXSTR]
EXTERN char GEM_EXT_VERSION[MAXSTR]
EXTERN char GISMAN_CMD[MAXSTR]
EXTERN char TMP_GISMAN[MAXSTR]