2 Copyright © 1995-2004, The AROS Development Team. All rights reserved.
9 /* Function prototypes */
10 extern char *strip_quotes(char *);
11 extern int database_keyword(char *);
12 extern struct ParameterList
*get_parameters(ScriptArg
*, int);
13 extern void collect_stringargs(ScriptArg
*, int, struct ParameterList
*);
14 extern void modify_userstartup(char *, struct ParameterList
*);
15 extern void free_parameterlist(struct ParameterList
*);
16 extern void free_parameter(struct ParameterList
);
17 extern int eval_cmd(char *);
18 extern char *collect_strings(ScriptArg
*, char, int);
19 extern long int getint(ScriptArg
*);
20 extern void traperr(char *, char *);
21 extern void execute_script(ScriptArg
*, int);
22 extern char * DynNameFromLock(BPTR
);
63 #define _EXPANDPATH 29
68 #define _GETDISKSPACE 34
72 #define _GETVERSION 38
77 #define _MAKEASSIGN 43
102 #define _SYMBOLSET 68
103 #define _SYMBOLVAL 69
108 #define _TRANSCRIPT 74
122 #define _PARAMETER 128 /* Base number for parameters */
124 /* Parameters with args */
125 #define _APPEND (_PARAMETER + 1)
126 #define _CHOICES (_PARAMETER + 2)
127 #define _COMMAND (_PARAMETER + 3)
128 #define _CONFIRM (_PARAMETER + 4)
129 #define _DEFAULT (_PARAMETER + 5)
130 #define _DELOPTS (_PARAMETER + 6)
131 #define _DEST (_PARAMETER + 7)
132 #define _HELP (_PARAMETER + 8)
133 #define _INCLUDE (_PARAMETER + 9)
134 #define _NEWNAME (_PARAMETER + 10)
135 #define _OPTIONAL (_PARAMETER + 11)
136 #define _PATTERN (_PARAMETER + 12)
137 #define _PROMPT (_PARAMETER + 13)
138 #define _RANGE (_PARAMETER + 14)
139 #define _SETDEFAULTTOOL (_PARAMETER + 15)
140 #define _SETPOSITION (_PARAMETER + 16)
141 #define _SETSTACK (_PARAMETER + 17)
142 #define _SETTOOLTYPE (_PARAMETER + 18)
143 #define _SOURCE (_PARAMETER + 19)
145 /* Boolean parameters */
146 #define _ALL (_PARAMETER + 20)
147 #define _ASSIGNS (_PARAMETER + 21)
148 #define _DISK (_PARAMETER + 22)
149 #define _FILES (_PARAMETER + 23)
150 #define _FONTS (_PARAMETER + 24)
151 #define _INFOS (_PARAMETER + 25)
152 #define _NEWPATH (_PARAMETER + 26)
153 #define _NOGAUGE (_PARAMETER + 27)
154 #define _NOPOSITION (_PARAMETER + 28)
155 #define _QUIET (_PARAMETER + 29)
156 #define _RESIDENT (_PARAMETER + 30)
157 #define _SAFE (_PARAMETER + 31)
158 #define _SWAPCOLORS (_PARAMETER + 32)
160 #define NUMPARAMS 32 /* Number of keywords used as parameters */
161 #define NUMARGPARAMS 19 /* Number of keywords used as parameters which may have arguments */
163 #define _MAXCOMMAND (NUMPARAMS+NUMCMDS) /* Total number of keywords */
166 #define GetPL(x, y) x[y - _PARAMETER -1]
169 /* _DATABASE keywords */
171 /* Installer 1.24 keywords */
174 #define _GRAPHICS_MEM 3
176 /* Installer V43 keywords */
181 #endif /* _EXECUTE_H */