version 1.12, 2001/07/17 13:09:25
|
version 1.43, 2006/02/21 21:05:38
|
|
|
//%///////////////////////////////////////////////////////////////////////////// |
//%2006//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001 The Open group, BMC Software, Tivoli Systems, IBM |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
|
// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
|
// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.; |
|
// IBM Corp.; EMC Corporation, The Open Group. |
|
// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
|
// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; Symantec Corporation; The Open Group. |
// | // |
// Permission is hereby granted, free of charge, to any person obtaining a copy | // Permission is hereby granted, free of charge, to any person obtaining a copy |
// of this software and associated documentation files (the "Software"), to | // of this software and associated documentation files (the "Software"), to |
|
|
// | // |
// Author: Karl Schopmeyer (k.schopmeyer@opengroup.org) | // Author: Karl Schopmeyer (k.schopmeyer@opengroup.org) |
// | // |
// Modified By: |
// Modified By: Jenny Yu (jenny_yu@hp.com) |
|
// Warren Otsuka (warren.otsuka@hp.com) |
|
// Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com) |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
const char PEGASUS_NAME[] = "Pegasus CIM Server - "; |
#ifdef PEGASUS_OVERRIDE_PRODUCT_ID |
const char PEGASUS_VERSION[] = "Version 0.99.0 (Experimental)"; |
# include <Pegasus/Common/ProductVersion.h> |
const char PEGAUS_STATUS[] = "Experimental" ; |
#else |
|
// |
|
// The Pegasus version string should be changed immediatly after a release |
|
// to include the word development and should then be changed immediatly |
|
// prior to release to remove it. Leaving the Version set to the prior release |
|
// makes it difficult to determine a development version from a released |
|
// version that may be in use. |
|
// |
|
// The sequence would look like: |
|
// # define PEGASUS_PRODUCT_VERSION "2.5" |
|
// # define PEGASUS_PRODUCT_STATUS "" // Blank implies Released |
|
// |
|
// # define PEGASUS_PRODUCT_VERSION "2.5.1" |
|
// # define PEGASUS_PRODUCT_STATUS "Development" |
|
// |
|
// # define PEGASUS_PRODUCT_VERSION "2.5.1" |
|
// # define PEGASUS_PRODUCT_STATUS "Pre-Release" |
|
// |
|
// # define PEGASUS_PRODUCT_VERSION "2.5.1" |
|
// # define PEGASUS_PRODUCT_STATUS "" // Blank implies Released |
|
// |
|
// # define PEGASUS_PRODUCT_VERSION "2.5.2" |
|
// # define PEGASUS_PRODUCT_STATUS "Development" |
|
// |
|
// # define PEGASUS_PRODUCT_VERSION "2.5.2" |
|
// # define PEGASUS_PRODUCT_STATUS "Pre-Release" |
|
// |
|
// # define PEGASUS_PRODUCT_VERSION "2.5.2" |
|
// # define PEGASUS_PRODUCT_STATUS "" // Blank implies Released |
|
// |
|
|
|
|
|
# define PEGASUS_PRODUCT_NAME "CIM Server" |
|
|
|
# define PEGASUS_PRODUCT_STATUS "Development" |
|
# define PEGASUS_PRODUCT_VERSION "2.6.0" |
|
|
|
# define PEGASUS_CIMOM_GENERIC_NAME "Pegasus" |
|
// If the following is non-zero length it becomes SLP description. |
|
# define PEGASUS_CIMOM_DESCRIPTION "" |
|
#endif |
|
|
|
#ifdef PEGASUS_OS_HPUX |
|
// Define the "what" string for binary files |
|
|
|
# ifndef PLATFORM_BUILD_DATE |
|
# define PLATFORM_BUILD_DATE __DATE__ |
|
# endif |
|
|
|
# ifndef PLATFORM_COMPONENT_NAME |
|
# define PLATFORM_COMPONENT_NAME "Pegasus Component" |
|
# endif |
|
|
|
# ifndef PLATFORM_COMPONENT_VERSION |
|
# define PLATFORM_COMPONENT_VERSION PEGASUS_PRODUCT_VERSION |
|
# endif |
|
|
|
# ifndef PLATFORM_COMPONENT_STATUS |
|
# define PLATFORM_COMPONENT_STATUS PEGASUS_PRODUCT_STATUS |
|
# endif |
|
|
|
# ifndef COMPONENT_BUILD_DATE |
|
# define COMPONENT_BUILD_DATE __DATE__ |
|
# endif |
|
|
|
static const char *PLATFORM_EMBEDDED_IDENTIFICATION_STRING = |
|
"@(#)" PEGASUS_PRODUCT_NAME " " PEGASUS_PRODUCT_VERSION " " |
|
PEGASUS_PRODUCT_STATUS "(" PLATFORM_BUILD_DATE ")" "\n@(#)" |
|
PEGASUS_PRODUCT_NAME "-" PLATFORM_COMPONENT_NAME " " |
|
PLATFORM_COMPONENT_VERSION " " PLATFORM_COMPONENT_STATUS "(" |
|
COMPONENT_BUILD_DATE ")"; |
|
|
|
#endif /* PEGASUS_OS_HPUX */ |
|
|
|
// This macro can be examined by preprocessor directives (i.e., #if) to |
|
// make compile time branch decisions based on the Pegasus version number. |
|
// When read from left to right, the bytes have the following meaning: |
|
// |
|
// Byte 0: major version number |
|
// Byte 1: minor version number |
|
// Byte 2: revision |
|
// Byte 3: reserved |
|
// |
|
// This macro appeared for the first time in version 2.5.1 (0x02050100). |
|
// Hence its absence indicates a version earlier than that. The following |
|
// tests for a Pegasus version of at least 2.5.1: |
|
// |
|
// #if defined(PEGASUS_VERSION_NUMBER) |
|
// .. |
|
// #endif |
|
// |
|
// And this tests whether the version is greater than 2.5.2: |
|
// |
|
// #if defined(PEGASUS_VERSION_NUMBER) && PEGASUS_VERSION_NUMBER > 0x02050200 |
|
// .. |
|
// #endif |
|
// |
|
// CAUTION: always check whether PEGASUS_VERSION_NUMBER is defined when |
|
// integrating with versions prior to 2.5.1. |
|
// |
|
#define PEGASUS_VERSION_NUMBER 0x02060000 |
| |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |
| |