2001-05-23 15:26:42 +02:00
|
|
|
/*
|
|
|
|
* PROGRAM: JRD Remote Interface/Server
|
|
|
|
* MODULE: remote_def.h
|
|
|
|
* DESCRIPTION: Common descriptions
|
|
|
|
*
|
|
|
|
* The contents of this file are subject to the Interbase Public
|
|
|
|
* License Version 1.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy
|
|
|
|
* of the License at http://www.Inprise.com/IPL.html
|
|
|
|
*
|
|
|
|
* Software distributed under the License is distributed on an
|
|
|
|
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
|
|
|
|
* or implied. See the License for the specific language governing
|
|
|
|
* rights and limitations under the License.
|
|
|
|
*
|
|
|
|
* The Original Code was created by Inprise Corporation
|
|
|
|
* and its predecessors. Portions created by Inprise Corporation are
|
|
|
|
* Copyright (C) Inprise Corporation.
|
|
|
|
*
|
|
|
|
* All Rights Reserved.
|
|
|
|
* Contributor(s): ______________________________________.
|
2002-02-16 03:21:35 +01:00
|
|
|
*
|
2002-02-16 06:06:17 +01:00
|
|
|
* 2002.02.15 Sean Leyne - Code Cleanup, removed obsolete ports:
|
|
|
|
* - EPSON, XENIX, DELTA, IMP, NCR3000, M88K
|
|
|
|
* - NT Power PC and HP9000 s300
|
2002-02-16 03:21:35 +01:00
|
|
|
*
|
2002-10-28 05:42:54 +01:00
|
|
|
* 2002.10.27 Sean Leyne - Completed removal of obsolete "DG_X86" port
|
2002-10-28 06:19:52 +01:00
|
|
|
* 2002.10.27 Sean Leyne - Code Cleanup, removed obsolete "Ultrix" port
|
2002-10-28 05:42:54 +01:00
|
|
|
*
|
2002-10-29 03:45:09 +01:00
|
|
|
* 2002.10.28 Sean Leyne - Completed removal of obsolete "DGUX" port
|
2002-10-29 04:17:45 +01:00
|
|
|
* 2002.10.28 Sean Leyne - Code cleanup, removed obsolete "MPEXL" port
|
|
|
|
* 2002.10.28 Sean Leyne - Code cleanup, removed obsolete "DecOSF" port
|
2002-10-29 04:31:20 +01:00
|
|
|
* 2002.10.28 Sean Leyne - Code cleanup, removed obsolete "SGI" port
|
2002-10-29 03:45:09 +01:00
|
|
|
*
|
2002-10-30 06:04:56 +01:00
|
|
|
* 2002.10.29 Sean Leyne - Removed support for obsolete IPX/SPX Protocol
|
2002-10-30 07:40:58 +01:00
|
|
|
* 2002.10.29 Sean Leyne - Removed obsolete "Netware" port
|
2002-10-30 06:04:56 +01:00
|
|
|
*
|
2001-05-23 15:26:42 +02:00
|
|
|
*/
|
|
|
|
|
2003-11-28 07:48:34 +01:00
|
|
|
#ifndef REMOTE_REMOTE_DEF_H
|
|
|
|
#define REMOTE_REMOTE_DEF_H
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2004-05-17 12:22:34 +02:00
|
|
|
#include "../remote/protocol.h"
|
|
|
|
|
2001-05-23 15:26:42 +02:00
|
|
|
#ifdef VMS
|
2004-05-17 12:22:34 +02:00
|
|
|
const P_ARCH ARCHITECTURE = arch_vms;
|
2004-05-18 02:45:46 +02:00
|
|
|
#elif defined(sun)
|
|
|
|
# ifdef sparc
|
2004-05-17 12:22:34 +02:00
|
|
|
const P_ARCH ARCHITECTURE = arch_sun4;
|
2004-05-18 02:45:46 +02:00
|
|
|
# elif defined(i386)
|
2004-05-17 12:22:34 +02:00
|
|
|
const P_ARCH ARCHITECTURE = arch_sun386;
|
2004-05-18 02:45:46 +02:00
|
|
|
# else
|
2004-05-17 12:22:34 +02:00
|
|
|
const P_ARCH ARCHITECTURE = arch_sun;
|
2004-05-18 02:45:46 +02:00
|
|
|
# endif
|
|
|
|
#elif defined(hpux)
|
2004-05-17 12:22:34 +02:00
|
|
|
const P_ARCH ARCHITECTURE = arch_hpux;
|
2004-05-18 02:45:46 +02:00
|
|
|
#elif (defined AIX || defined AIX_PPC)
|
2004-05-17 12:22:34 +02:00
|
|
|
const P_ARCH ARCHITECTURE = arch_rt;
|
2004-05-18 02:45:46 +02:00
|
|
|
#elif defined(SCO_EV)
|
2004-05-17 12:22:34 +02:00
|
|
|
const P_ARCH ARCHITECTURE = arch_sco_ev;
|
2004-05-18 02:45:46 +02:00
|
|
|
#elif defined(LINUX)
|
2004-05-17 12:22:34 +02:00
|
|
|
const P_ARCH ARCHITECTURE = arch_linux;
|
2004-05-18 02:45:46 +02:00
|
|
|
#elif defined(FREEBSD)
|
2004-05-17 12:22:34 +02:00
|
|
|
const P_ARCH ARCHITECTURE = arch_freebsd;
|
2004-05-18 02:45:46 +02:00
|
|
|
#elif defined(NETBSD)
|
2004-05-17 12:22:34 +02:00
|
|
|
const P_ARCH ARCHITECTURE = arch_netbsd;
|
2004-05-18 02:45:46 +02:00
|
|
|
#elif defined(DARWIN)
|
2004-05-17 12:22:34 +02:00
|
|
|
const P_ARCH ARCHITECTURE = arch_darwin_ppc;
|
2004-05-18 02:45:46 +02:00
|
|
|
#elif defined(I386)
|
2004-05-17 12:22:34 +02:00
|
|
|
const P_ARCH ARCHITECTURE = arch_intel_32;
|
2001-07-30 01:43:24 +02:00
|
|
|
#endif
|
|
|
|
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2004-05-17 12:22:34 +02:00
|
|
|
// port_server_flags
|
2002-03-11 17:34:08 +01:00
|
|
|
|
2005-01-16 12:25:18 +01:00
|
|
|
const USHORT SRVR_server = 1; // server
|
|
|
|
const USHORT SRVR_multi_client = 2; // multi-client server
|
|
|
|
const USHORT SRVR_debug = 4; // debug run
|
|
|
|
const USHORT SRVR_inet = 8; // Inet protocol
|
|
|
|
const USHORT SRVR_wnet = 16; // Wnet (named pipe) protocol (WinNT)
|
|
|
|
const USHORT SRVR_xnet = 32; // Xnet protocol (Win32)
|
|
|
|
const USHORT SRVR_non_service = 64; // not running as an NT service
|
|
|
|
const USHORT SRVR_high_priority = 128; // fork off server at high priority
|
|
|
|
const USHORT SRVR_thread_per_port = 256; // bind thread to a port
|
|
|
|
const USHORT SRVR_no_icon = 512; // tell the server not to show the icon
|
|
|
|
|
|
|
|
#endif /* REMOTE_REMOTE_DEF_H */
|