1 /** 2 * Licensed to the Apache Software Foundation (ASF) under one 3 * or more contributor license agreements. See the NOTICE file 4 * distributed with this work for additional information 5 * regarding copyright ownership. The ASF licenses this file 6 * to you under the Apache License, Version 2.0 (the 7 * "License"); you may not use this file except in compliance 8 * with the License. You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, 13 * software distributed under the License is distributed on an 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 * KIND, either express or implied. See the License for the 16 * specific language governing permissions and limitations 17 * under the License. 18 */ 19 20 /* 21 * XSECVersion.hpp 22 * 23 * Version information for the package 24 */ 25 26 /* 27 * These are the high level numerics that need to be changed to bump the 28 * version number. They are used to create version strings. 29 */ 30 31 #define XSEC_VERSION_MAJOR 2 32 #define XSEC_VERSION_MEDIUM 0 33 #define XSEC_VERSION_MINOR 4 34 35 // -------------------------------------------------------------------------------- 36 // Version Handling 37 // -------------------------------------------------------------------------------- 38 39 /* 40 * The following code makes use of the Xerces version handling macros to define 41 * some constants that can be used during conditional compilation. 42 */ 43 44 /* This can be used for conditional compilation and for testing during 45 * autoconfigures. 46 * 47 * It will create a string of the form 10000 * MAJOR + 100 * MEDIUM + MINOR 48 * E.g. 10301 for version 1.3.1 49 */ 50 51 #define _XSEC_VERSION_FULL CALC_EXPANDED_FORM (XSEC_VERSION_MAJOR,XSEC_VERSION_MEDIUM,XSEC_VERSION_MINOR) 52 53 /* Some useful strings for versioning - based on the same strings from Xerces */ 54 55 #define XSEC_FULLVERSIONSTR INVK_CAT3_SEP_UNDERSCORE(XSEC_VERSION_MAJOR,XSEC_VERSION_MEDIUM,XSEC_VERSION_MINOR) 56 #define XSEC_FULLVERSIONDOT INVK_CAT3_SEP_PERIOD(XSEC_VERSION_MAJOR,XSEC_VERSION_MEDIUM,XSEC_VERSION_MINOR) 57 #define XSEC_FULLVERSIONNUM INVK_CAT3_SEP_NIL(XSEC_VERSION_MAJOR,XSEC_VERSION_MEDIUM,XSEC_VERSION_MINOR) 58 #define XSEC_VERSIONSTR INVK_CAT2_SEP_UNDERSCORE(XSEC_VERSION_MAJOR,XSEC_VERSION_MEDIUM) 59 60 /* The following is used for backwards compatibility with previous version handling */ 61 62 #define XSEC_VERSION "XSEC_FULLVERSIONDOT" 63