corrections to check for existing files.
[AROS-Contrib.git] / dopus / Program / arbiter.h
blobeec4efaf44e224c5dc408c4adf07a9e0bb0280a2
1 /*
3 Directory Opus 4
4 Original GPL release version 4.12
5 Copyright 1993-2000 Jonathan Potter
7 This program is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License
9 as published by the Free Software Foundation; either version 2
10 of the License, or (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 All users of Directory Opus 4 (including versions distributed
22 under the GPL) are entitled to upgrade to the latest version of
23 Directory Opus version 5 at a reduced price. Please see
24 http://www.gpsoft.com.au for more information.
26 The release of Directory Opus 4 under the GPL in NO WAY affects
27 the existing commercial status of Directory Opus 5.
32 struct ArbiterMessage {
33 struct Message msg;
34 int command;
35 int flags;
36 APTR data;
39 extern struct MsgPort *arbiter_reply_port;
40 extern struct MsgPort *arbiter_msg_port;
41 extern struct ProcessStart *arbiter_seglist;
42 extern struct Message arbiter_startup;
44 enum {
45 ARBITER_INSTALL,
46 ARBITER_REMOVE,
47 ARBITER_LAUNCH
50 #define ARB_WAIT 1
52 struct ArbiterLaunch {
53 void *launch_code;
54 char *launch_name;
55 struct DOpusRemember *launch_memory;
56 APTR data;
59 enum {
60 ARB_PEN_DETAIL,
61 ARB_PEN_BLOCK,
63 ARB_PEN_LASTPEN