(file) Return to Platform_ZOS_ZSERIES_IBM.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

  1 karl  1.23 //%2006////////////////////////////////////////////////////////////////////////
  2 mike  1.2  //
  3 karl  1.18 // 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 karl  1.14 // IBM Corp.; EMC Corporation, The Open Group.
  7 karl  1.18 // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
  8            // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
  9 karl  1.20 // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 10            // EMC Corporation; VERITAS Software Corporation; The Open Group.
 11 karl  1.23 // Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 12            // EMC Corporation; Symantec Corporation; The Open Group.
 13 mike  1.2  //
 14            // Permission is hereby granted, free of charge, to any person obtaining a copy
 15 sage  1.3  // of this software and associated documentation files (the "Software"), to
 16            // deal in the Software without restriction, including without limitation the
 17            // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 18 mike  1.2  // sell copies of the Software, and to permit persons to whom the Software is
 19            // furnished to do so, subject to the following conditions:
 20 kumpf 1.6  // 
 21 sage  1.3  // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
 22 mike  1.2  // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
 23            // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
 24 sage  1.3  // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 25            // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 26            // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 27 mike  1.2  // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 28            // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 29            //
 30            //==============================================================================
 31            //
 32            // Author: Markus Mueller (mmueller@de.ibm.com)
 33            //
 34 kumpf 1.10 // Modified By: Carol Ann Krug Graves, Hewlett-Packard Company
 35            //                (carolann_graves@hp.com)
 36 mike  1.2  //
 37            //%/////////////////////////////////////////////////////////////////////////////
 38            
 39            #ifndef Pegasus_Platform_ZOS_ZSERIES_IBM_h
 40            #define Pegasus_Platform_ZOS_ZSERIES_IBM_h
 41            
 42 marek 1.13 // added for Native ASCII Support
 43            #pragma runopts("FILETAG(AUTOCVT,AUTOTAG)")
 44            
 45 sage  1.3  //#define _XOPEN_SOURCE_EXTENDED 1
 46            //#define _OPEN_SYS 1
 47            #define _MSE_PROTOS
 48            #define _OPEN_SOURCE 3
 49 sage  1.7  // timezone
 50            #define _ALL_SOURCE
 51            // longlong
 52            //#define _LONG_LONG 1
 53            
 54            #include <limits.h>
 55 mike  1.2  
 56 kumpf 1.10 #include <cstddef>
 57            
 58 marek 1.19 #include <stdarg.h>
 59            #include <stdio.h>
 60            
 61 kumpf 1.10 #define PEGASUS_OS_TYPE_UNIX
 62 mike  1.2  
 63            #define PEGASUS_OS_ZOS
 64            
 65            #define PEGASUS_ARCHITECTURE_ZSERIES
 66            
 67            #define PEGASUS_COMPILER_IBM
 68            
 69 marek 1.12 #define PEGASUS_UINT64 unsigned long long int
 70 mike  1.2  
 71 marek 1.12 #define PEGASUS_SINT64 long long int
 72 mike  1.2  
 73 sage  1.3  #define PEGASUS_HAVE_NAMESPACES
 74 mike  1.2  
 75 sage  1.3  #define PEGASUS_HAVE_EXPLICIT
 76 mike  1.2  
 77 sage  1.3  #define PEGASUS_HAVE_MUTABLE
 78 mike  1.2  
 79 sage  1.3  #define PEGASUS_HAVE_FOR_SCOPE
 80 mike  1.2  
 81 sage  1.4  #define PEGASUS_HAVE_TEMPLATE_SPECIALIZATION
 82 mike  1.2  
 83 marek 1.21 #define PEGASUS_HAVE_INTERNAL_INLINES
 84            
 85 marek 1.13 // removed as Pegasus will work with Native ASCII support on zOS
 86            // #define PEGASUS_HAVE_EBCDIC
 87 sage  1.4  
 88            #define PEGASUS_STATIC_CDECL __cdecl
 89 marek 1.13 
 90            #define PEGASUS_HAS_SIGNALS
 91 mike  1.2  
 92 marek 1.17 #define PEGASUS_MAXHOSTNAMELEN  256
 93            
 94 marek 1.16 #define PEGASUS_NO_PASSWORDFILE
 95 marek 1.19 
 96            
 97            //#define snprintf(sptr,len,form,data) sprintf(sptr,form,data)
 98            
 99 marek 1.21 #define ZOS_SECURITY_NAME "CIMServer Security"
100 marek 1.19 inline int snprintf(char *sptr, size_t len, const char* form, ...)
101            {
102                int returnvalue;
103                va_list arguments;
104                va_start(arguments, form);
105                returnvalue = vsprintf(sptr, form, arguments);
106                va_end(arguments);
107                return returnvalue;
108            }
109            
110 marek 1.21 #define ZOS_DEFAULT_PEGASUS_REPOSITORY "/var/wbem"
111 marek 1.19 
112 mike  1.22 #define PEGASUS_SOCKLEN_T size_t
113            
114 mike  1.2  #endif /* Pegasus_Platform_ZOS_ZSERIES_IBM_h */

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2