1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
|
/*
* Copyright 2001-2005 Internet2
*
* Licensed under the Apache License, Version 2.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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* version.h - OpenSAML version header file
Scott Cantor
4/7/04
$Id: version.h,v 1.4 2005/07/18 00:31:24 cantor Exp $
*/
#if !defined(__saml_version_h__)
#define __saml_version_h__
// This is all based on Xerces, on the theory it might be useful to
// support this kind of stuff in the future. If they ever yank some
// of this stuff, it can be copied into here.
#include <xercesc/util/XercesVersion.hpp>
// ---------------------------------------------------------------------------
// V E R S I O N S P E C I F I C A T I O N
/**
* MODIFY THESE NUMERIC VALUES TO COINCIDE WITH OPENSAML VERSION
* AND DO NOT MODIFY ANYTHING ELSE IN THIS VERSION HEADER FILE
*/
#define OPENSAML_VERSION_MAJOR 1
#define OPENSAML_VERSION_MINOR 1
#define OPENSAML_VERSION_REVISION 0
/** DO NOT MODIFY BELOW THIS LINE */
/**
* MAGIC THAT AUTOMATICALLY GENERATES THE FOLLOWING:
*
* gOpenSAMLVersionStr, gOpenSAMLFullVersionStr, gOpenSAMLMajVersion, gOpenSAMLMinVersion, gOpenSAMLRevision
*/
// ---------------------------------------------------------------------------
// V E R S I O N I N F O R M A T I O N
// SAML version strings; these particular macros cannot be used for
// conditional compilation as they are not numeric constants
#define OPENSAML_FULLVERSIONSTR INVK_CAT3_SEP_UNDERSCORE(OPENSAML_VERSION_MAJOR,OPENSAML_VERSION_MINOR,OPENSAML_VERSION_REVISION)
#define OPENSAML_FULLVERSIONDOT INVK_CAT3_SEP_PERIOD(OPENSAML_VERSION_MAJOR,OPENSAML_VERSION_MINOR,OPENSAML_VERSION_REVISION)
#define OPENSAML_FULLVERSIONNUM INVK_CAT3_SEP_NIL(OPENSAML_VERSION_MAJOR,OPENSAML_VERSION_MINOR,OPENSAML_VERSION_REVISION)
#define OPENSAML_VERSIONSTR INVK_CAT2_SEP_UNDERSCORE(OPENSAML_VERSION_MAJOR,OPENSAML_VERSION_MINOR)
const char* const gOpenSAMLVersionStr = OPENSAML_VERSIONSTR;
const char* const gOpenSAMLFullVersionStr = OPENSAML_FULLVERSIONSTR;
const unsigned int gOpenSAMLMajVersion = OPENSAML_VERSION_MAJOR;
const unsigned int gOpenSAMLMinVersion = OPENSAML_VERSION_MINOR;
const unsigned int gOpenSAMLRevision = OPENSAML_VERSION_REVISION;
// SAML version numeric constants that can be used for conditional
// compilation purposes.
#define _OPENSAML_VERSION CALC_EXPANDED_FORM (OPENSAML_VERSION_MAJOR,OPENSAML_VERSION_MINOR,OPENSAML_VERSION_REVISION)
#endif // __saml_version_h__
|