Hint added.
[AROS.git] / workbench / utilities / MultiView / ARexx / MultiView.h
blob76869bddd5ac5238454a271c618db960c8a95c94
1 /*
2 * Source generated with ARexxBox 1.12 (May 18 1993)
3 * which is Copyright (c) 1992,1993 Michael Balzer
4 */
6 #ifndef _MultiView_H
7 #define _MultiView_H
9 #define RXIF_INIT 1
10 #define RXIF_ACTION 2
11 #define RXIF_FREE 3
13 #define ARB_CF_ENABLED (1L << 0)
15 #define ARB_HF_CMDSHELL (1L << 0)
16 #define ARB_HF_USRMSGPORT (1L << 1)
18 struct RexxHost
20 struct MsgPort *port;
21 char portname[ 80 ];
22 long replies;
23 struct RDArgs *rdargs;
24 long flags;
25 APTR userdata;
28 struct rxs_command
30 char *command, *args, *results;
31 long resindex;
32 void (*function)( struct RexxHost *, void **, long, struct RexxMsg * );
33 long flags;
36 struct arb_p_link
38 char *str;
39 int dst;
42 struct arb_p_state
44 int cmd;
45 struct arb_p_link *pa;
48 #ifndef NO_GLOBALS
49 extern char RexxPortBaseName[80];
50 extern struct rxs_command rxs_commandlist[];
51 extern struct arb_p_state arb_p_state[];
52 extern int command_cnt;
53 extern char *rexx_extension;
54 #endif
56 void ReplyRexxCommand( struct RexxMsg *rxmsg, long prim, long sec, char *res );
57 void FreeRexxCommand( struct RexxMsg *rxmsg );
58 struct RexxMsg *CreateRexxCommand( struct RexxHost *host, char *buff, BPTR fh );
59 struct RexxMsg *CommandToRexx( struct RexxHost *host, struct RexxMsg *rexx_command_message );
60 struct RexxMsg *SendRexxCommand( struct RexxHost *host, char *buff, BPTR fh );
62 void CloseDownARexxHost( struct RexxHost *host );
63 struct RexxHost *SetupARexxHost( char *basename, struct MsgPort *usrport );
64 struct rxs_command *FindRXCommand( char *com );
65 char *ExpandRXCommand( struct RexxHost *host, char *command );
66 char *StrDup( char *s );
67 void ARexxDispatch( struct RexxHost *host );
69 /* rxd-Strukturen dürfen nur AM ENDE um lokale Variablen erweitert werden! */
71 struct rxd_about
73 long rc, rc2;
76 void rx_about( struct RexxHost *, struct rxd_about **, long, struct RexxMsg * );
78 struct rxd_activatewindow
80 long rc, rc2;
83 void rx_activatewindow( struct RexxHost *, struct rxd_activatewindow **, long, struct RexxMsg * );
85 struct rxd_beepscreen
87 long rc, rc2;
90 void rx_beepscreen( struct RexxHost *, struct rxd_beepscreen **, long, struct RexxMsg * );
92 struct rxd_clearselected
94 long rc, rc2;
97 void rx_clearselected( struct RexxHost *, struct rxd_clearselected **, long, struct RexxMsg * );
99 struct rxd_copy
101 long rc, rc2;
104 void rx_copy( struct RexxHost *, struct rxd_copy **, long, struct RexxMsg * );
106 struct rxd_dotriggermethod
108 long rc, rc2;
109 struct {
110 char *method;
111 } arg;
114 void rx_dotriggermethod( struct RexxHost *, struct rxd_dotriggermethod **, long, struct RexxMsg * );
116 struct rxd_getcurrentdir
118 long rc, rc2;
119 struct {
120 char *var, *stem;
121 } arg;
122 struct {
123 char *currentdir;
124 } res;
127 void rx_getcurrentdir( struct RexxHost *, struct rxd_getcurrentdir **, long, struct RexxMsg * );
129 struct rxd_getfileinfo
131 long rc, rc2;
132 struct {
133 char *var, *stem;
134 } arg;
135 struct {
136 char *fileinfo;
137 } res;
140 void rx_getfileinfo( struct RexxHost *, struct rxd_getfileinfo **, long, struct RexxMsg * );
142 struct rxd_getobjectinfo
144 long rc, rc2;
145 struct {
146 char *var, *stem;
147 long myvar;
148 char *mystem;
149 } arg;
150 struct {
151 char *result;
152 } res;
155 void rx_getobjectinfo( struct RexxHost *, struct rxd_getobjectinfo **, long, struct RexxMsg * );
157 struct rxd_gettriggerinfo
159 long rc, rc2;
160 struct {
161 char *var, *stem;
162 long myvar;
163 char *mystem;
164 } arg;
165 struct {
166 char *result;
167 } res;
170 void rx_gettriggerinfo( struct RexxHost *, struct rxd_gettriggerinfo **, long, struct RexxMsg * );
172 struct rxd_mark
174 long rc, rc2;
177 void rx_mark( struct RexxHost *, struct rxd_mark **, long, struct RexxMsg * );
179 struct rxd_maximumsize
181 long rc, rc2;
184 void rx_maximumsize( struct RexxHost *, struct rxd_maximumsize **, long, struct RexxMsg * );
186 struct rxd_minimumsize
188 long rc, rc2;
191 void rx_minimumsize( struct RexxHost *, struct rxd_minimumsize **, long, struct RexxMsg * );
193 struct rxd_normalsize
195 long rc, rc2;
198 void rx_normalsize( struct RexxHost *, struct rxd_normalsize **, long, struct RexxMsg * );
200 struct rxd_open
202 long rc, rc2;
203 struct {
204 char *name;
205 long clipboard;
206 long *clipunit;
207 } arg;
210 void rx_open( struct RexxHost *, struct rxd_open **, long, struct RexxMsg * );
212 struct rxd_print
214 long rc, rc2;
217 void rx_print( struct RexxHost *, struct rxd_print **, long, struct RexxMsg * );
219 struct rxd_pubscreen
221 long rc, rc2;
222 struct {
223 char *name;
224 } arg;
227 void rx_pubscreen( struct RexxHost *, struct rxd_pubscreen **, long, struct RexxMsg * );
229 struct rxd_quit
231 long rc, rc2;
234 void rx_quit( struct RexxHost *, struct rxd_quit **, long, struct RexxMsg * );
236 struct rxd_reload
238 long rc, rc2;
241 void rx_reload( struct RexxHost *, struct rxd_reload **, long, struct RexxMsg * );
243 struct rxd_saveas
245 long rc, rc2;
246 struct {
247 char *name;
248 long iff;
249 } arg;
252 void rx_saveas( struct RexxHost *, struct rxd_saveas **, long, struct RexxMsg * );
254 struct rxd_screen
256 long rc, rc2;
257 struct {
258 long true;
259 long false;
260 } arg;
263 void rx_screen( struct RexxHost *, struct rxd_screen **, long, struct RexxMsg * );
265 struct rxd_screentoback
267 long rc, rc2;
270 void rx_screentoback( struct RexxHost *, struct rxd_screentoback **, long, struct RexxMsg * );
272 struct rxd_screentofront
274 long rc, rc2;
277 void rx_screentofront( struct RexxHost *, struct rxd_screentofront **, long, struct RexxMsg * );
279 struct rxd_snapshot
281 long rc, rc2;
284 void rx_snapshot( struct RexxHost *, struct rxd_snapshot **, long, struct RexxMsg * );
286 struct rxd_windowtoback
288 long rc, rc2;
291 void rx_windowtoback( struct RexxHost *, struct rxd_windowtoback **, long, struct RexxMsg * );
293 struct rxd_windowtofront
295 long rc, rc2;
298 void rx_windowtofront( struct RexxHost *, struct rxd_windowtofront **, long, struct RexxMsg * );
300 #endif