2 * Licensed to the University Corporation for Advanced Internet
\r
3 * Development, Inc. (UCAID) under one or more contributor license
\r
4 * agreements. See the NOTICE file distributed with this work for
\r
5 * additional information regarding copyright ownership.
\r
7 * UCAID licenses this file to you under the Apache License,
\r
8 * Version 2.0 (the "License"); you may not use this file except
\r
9 * in compliance with the License. You may obtain a copy of the
\r
12 * http://www.apache.org/licenses/LICENSE-2.0
\r
14 * Unless required by applicable law or agreed to in writing,
\r
15 * software distributed under the License is distributed on an
\r
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
\r
17 * either express or implied. See the License for the specific
\r
18 * language governing permissions and limitations under the License.
\r
24 * Library version macros and constants.
\r
27 #ifndef __shibsp_version_h__
\r
28 #define __shibsp_version_h__
\r
30 // This is all based on Xerces, on the theory it might be useful to
\r
31 // support this kind of stuff in the future. If they ever yank some
\r
32 // of this stuff, it can be copied into here.
\r
34 #include <shibsp/base.h>
\r
35 #include <xercesc/util/XercesVersion.hpp>
\r
37 // ---------------------------------------------------------------------------
\r
38 // V E R S I O N S P E C I F I C A T I O N
\r
41 * MODIFY THESE NUMERIC VALUES TO COINCIDE WITH SHIBSP LIBRARY VERSION
\r
42 * AND DO NOT MODIFY ANYTHING ELSE IN THIS VERSION HEADER FILE
\r
45 #define SHIBSP_VERSION_MAJOR 1
\r
46 #define SHIBSP_VERSION_MINOR 5
\r
47 #define SHIBSP_VERSION_REVISION 6
\r
49 /** DO NOT MODIFY BELOW THIS LINE */
\r
52 * MAGIC THAT AUTOMATICALLY GENERATES THE FOLLOWING:
\r
54 * gShibSPVersionStr, gShibSPFullVersionStr, gShibSPMajVersion, gShibSPMinVersion, gShibSPRevision
\r
57 // ---------------------------------------------------------------------------
\r
58 // V E R S I O N I N F O R M A T I O N
\r
60 // ShibSP version strings; these particular macros cannot be used for
\r
61 // conditional compilation as they are not numeric constants
\r
63 #define SHIBSP_FULLVERSIONSTR INVK_CAT3_SEP_UNDERSCORE(SHIBSP_VERSION_MAJOR,SHIBSP_VERSION_MINOR,SHIBSP_VERSION_REVISION)
\r
64 #define SHIBSP_FULLVERSIONDOT INVK_CAT3_SEP_PERIOD(SHIBSP_VERSION_MAJOR,SHIBSP_VERSION_MINOR,SHIBSP_VERSION_REVISION)
\r
65 #define SHIBSP_FULLVERSIONNUM INVK_CAT3_SEP_NIL(SHIBSP_VERSION_MAJOR,SHIBSP_VERSION_MINOR,SHIBSP_VERSION_REVISION)
\r
66 #define SHIBSP_VERSIONSTR INVK_CAT2_SEP_UNDERSCORE(SHIBSP_VERSION_MAJOR,SHIBSP_VERSION_MINOR)
\r
68 extern SHIBSP_API const char* const gShibSPVersionStr;
\r
69 extern SHIBSP_API const char* const gShibSPFullVersionStr;
\r
70 extern SHIBSP_API const char* const gShibSPDotVersionStr;
\r
71 extern SHIBSP_API const unsigned int gShibSPMajVersion;
\r
72 extern SHIBSP_API const unsigned int gShibSPMinVersion;
\r
73 extern SHIBSP_API const unsigned int gShibSPRevision;
\r
75 // ShibSP version numeric constants that can be used for conditional
\r
76 // compilation purposes.
\r
78 #define _SHIBSP_VERSION CALC_EXPANDED_FORM (SHIBSP_VERSION_MAJOR,SHIBSP_VERSION_MINOR,SHIBSP_VERSION_REVISION)
\r
80 #endif /* __shibsp_version_h__ */
\r