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

  1 karl  1.20 //%2005////////////////////////////////////////////////////////////////////////
  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 mike  1.2  //
 12            // Permission is hereby granted, free of charge, to any person obtaining a copy
 13 sage  1.3  // 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 mike  1.2  // 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 kumpf 1.6  // 
 19 sage  1.3  // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
 20 mike  1.2  // 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 sage  1.3  // 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 mike  1.2  // 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: Markus Mueller (mmueller@de.ibm.com)
 31            //
 32 kumpf 1.10 // Modified By: Carol Ann Krug Graves, Hewlett-Packard Company
 33            //                (carolann_graves@hp.com)
 34 mike  1.2  //
 35            //%/////////////////////////////////////////////////////////////////////////////
 36            
 37            #ifndef Pegasus_Platform_ZOS_ZSERIES_IBM_h
 38            #define Pegasus_Platform_ZOS_ZSERIES_IBM_h
 39            
 40 marek 1.13 // added for Native ASCII Support
 41            #pragma runopts("FILETAG(AUTOCVT,AUTOTAG)")
 42            
 43 sage  1.3  //#define _XOPEN_SOURCE_EXTENDED 1
 44            //#define _OPEN_SYS 1
 45            #define _MSE_PROTOS
 46            #define _OPEN_SOURCE 3
 47 sage  1.7  // timezone
 48            #define _ALL_SOURCE
 49            // longlong
 50            //#define _LONG_LONG 1
 51            
 52            #include <limits.h>
 53 mike  1.2  
 54 kumpf 1.10 #include <cstddef>
 55            
 56 marek 1.19 #include <stdarg.h>
 57            #include <stdio.h>
 58            
 59 kumpf 1.10 #define PEGASUS_OS_TYPE_UNIX
 60 mike  1.2  
 61            #define PEGASUS_OS_ZOS
 62            
 63            #define PEGASUS_ARCHITECTURE_ZSERIES
 64            
 65            #define PEGASUS_COMPILER_IBM
 66            
 67 marek 1.12 #define PEGASUS_UINT64 unsigned long long int
 68 mike  1.2  
 69 marek 1.12 #define PEGASUS_SINT64 long long int
 70 mike  1.2  
 71 sage  1.3  #define PEGASUS_HAVE_NAMESPACES
 72 mike  1.2  
 73 sage  1.3  #define PEGASUS_HAVE_EXPLICIT
 74 mike  1.2  
 75 sage  1.3  #define PEGASUS_HAVE_MUTABLE
 76 mike  1.2  
 77 sage  1.3  #define PEGASUS_HAVE_FOR_SCOPE
 78 mike  1.2  
 79 sage  1.4  #define PEGASUS_HAVE_TEMPLATE_SPECIALIZATION
 80 mike  1.2  
 81 marek 1.21 #define PEGASUS_HAVE_INTERNAL_INLINES
 82            
 83 marek 1.13 // removed as Pegasus will work with Native ASCII support on zOS
 84            // #define PEGASUS_HAVE_EBCDIC
 85 sage  1.4  
 86            #define PEGASUS_STATIC_CDECL __cdecl
 87 marek 1.13 
 88            #define PEGASUS_HAS_SIGNALS
 89 mike  1.2  
 90 marek 1.17 #define PEGASUS_MAXHOSTNAMELEN  256
 91            
 92 marek 1.16 #define PEGASUS_NO_PASSWORDFILE
 93 marek 1.19 
 94            
 95            //#define snprintf(sptr,len,form,data) sprintf(sptr,form,data)
 96            
 97 marek 1.21 #define ZOS_SECURITY_NAME "CIMServer Security"
 98 marek 1.19 inline int snprintf(char *sptr, size_t len, const char* form, ...)
 99            {
100                int returnvalue;
101                va_list arguments;
102                va_start(arguments, form);
103                returnvalue = vsprintf(sptr, form, arguments);
104                va_end(arguments);
105                return returnvalue;
106            }
107            
108 marek 1.21 #define ZOS_DEFAULT_PEGASUS_REPOSITORY "/var/wbem"
109 marek 1.19 
110 mike  1.2  #endif /* Pegasus_Platform_ZOS_ZSERIES_IBM_h */

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2