1 mike 1.2 //%2005////////////////////////////////////////////////////////////////////////
2 //
3 // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
4 // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
5 // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
6 // IBM Corp.; EMC Corporation, The Open Group.
7 // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
8 // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
9 // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
10 // EMC Corporation; VERITAS Software Corporation; The Open Group.
11 //
12 // Permission is hereby granted, free of charge, to any person obtaining a copy
13 // of this software and associated documentation files (the "Software"), to
14 // deal in the Software without restriction, including without limitation the
15 // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
16 // sell copies of the Software, and to permit persons to whom the Software is
17 // furnished to do so, subject to the following conditions:
18 //
19 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
20 // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
21 // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
22 mike 1.2 // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
23 // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
24 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
25 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
26 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27 //
28 //==============================================================================
29 //
30 // Author: Mike Day (mdday@us.ibm.com)
31 //
32 // Modified By: Markus Mueller
33 // Ramnath Ravindran (Ramnath.Ravindran@compaq.com)
34 // David Eger (dteger@us.ibm.com)
35 // Amit K Arora, IBM (amita@in.ibm.com) for PEP#101
36 // Sean Keenan, Hewlett-Packard Company (sean.keenan@hp.com)
37 // Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com)
38 // David Dillard, VERITAS Software Corp.
39 // (david.dillard@veritas.com)
40 // Aruran, IBM (ashanmug@in.ibm.com) for BUG# 3518
41 // Mike Brasher (mike-brasher@austin.rr.com)
42 //
43 mike 1.2 //%/////////////////////////////////////////////////////////////////////////////
44
45 #ifndef Pegasus_IPCTypes_h
46 #define Pegasus_IPCTypes_h
47
48 #include <Pegasus/Common/Config.h>
49 #include <Pegasus/Common/Linkage.h>
50 #include <Pegasus/Common/AutoPtr.h>
51
52 #if !defined(PEGASUS_OS_SOLARIS) && !defined(PEGASUS_OS_LSB) && !defined(PEGASUS_OS_VMS)
53 #define PEGASUS_NEED_CRITICAL_TYPE
54 #endif
55
56 #if defined(PEGASUS_PLATFORM_WIN32_IX86_MSVC)
57 # include "IPCWindows.h"
58 #elif defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU)
59 # include "IPCUnix.h"
60 #elif defined(PEGASUS_PLATFORM_HPUX_ACC)
61 # include "IPCHpux.h"
62 #elif defined(PEGASUS_PLATFORM_SOLARIS_SPARC_GNU)
63 # include "IPCUnix.h"
64 mike 1.2 #elif defined(PEGASUS_PLATFORM_SOLARIS_SPARC_CC)
65 # include "IPCSun.h"
66 #elif defined(PEGASUS_PLATFORM_AIX_RS_IBMCXX)
67 # include "IPCAix.h"
68 #elif defined(PEGASUS_PLATFORM_ZOS_ZSERIES_IBM)
69 # include "IPCzOS.h"
70 #elif defined(PEGASUS_PLATFORM_TRU64_ALPHA_DECCXX)
71 # include "IPCTru64.h"
72 #elif defined(PEGASUS_PLATFORM_OS400_ISERIES_IBM)
73 # include "IPCOs400.h"
74 #elif defined(PEGASUS_PLATFORM_DARWIN_PPC_GNU)
75 # include "IPCUnix.h"
76 #elif defined(PEGASUS_OS_VMS)
77 # include "IPCVms.h"
78 #else
79 # error "Unsupported platform"
80 #endif
81
82 #endif /* Pegasus_IPCTypes_h */
|