2 * ModSecurity for Apache 2.x, http://www.modsecurity.org/
3 * Copyright (c) 2004-2009 Breach Security, Inc. (http://www.breach.com/)
5 * This product is released under the terms of the General Public Licence,
6 * version 2 (GPLv2). Please refer to the file LICENSE (included with this
7 * distribution) which contains the complete text of the licence.
9 * There are special exceptions to the terms and conditions of the GPL
10 * as it is applied to this software. View the full text of the exception in
11 * file MODSECURITY_LICENSING_EXCEPTION in the directory of this software
14 * If any of the files related to licensing are missing or if you have any
15 * other questions related to licensing please contact Breach Security, Inc.
16 * directly using the email address support@breach.com.
19 #ifndef _MSC_RELEASE_H_
20 #define _MSC_RELEASE_H_
25 /* ENH: Clean this mess up by detecting this is possible */
26 #if !(defined(_AIX) || defined(WIN32) || defined(CYGWIN) || defined(NETWARE) || defined(SOLARIS2) || defined(OSF1))
27 #define DSOLOCAL __attribute__((visibility("hidden")))
32 #if defined(DEBUG_MEM)
36 /* For GNU C, tell the compiler to check printf like formatters */
37 #if (defined(__GNUC__) && !defined(SOLARIS2))
38 #define PRINTF_ATTRIBUTE(a,b) __attribute__((format (printf, a, b)))
40 #define PRINTF_ATTRIBUTE(a,b)
43 typedef struct modsec_build_type_rec {
46 } modsec_build_type_rec;
47 extern DSOLOCAL modsec_build_type_rec modsec_build_type[];
49 #define MODSEC_VERSION_MAJOR "2"
50 #define MODSEC_VERSION_MINOR "5"
51 #define MODSEC_VERSION_MAINT "11"
52 #define MODSEC_VERSION_TYPE ""
53 #define MODSEC_VERSION_RELEASE ""
55 #define MODSEC_VERSION_SUFFIX MODSEC_VERSION_TYPE MODSEC_VERSION_RELEASE
57 #define MODSEC_VERSION \
58 MODSEC_VERSION_MAJOR "." MODSEC_VERSION_MINOR "." MODSEC_VERSION_MAINT \
61 /* Apache Module Defines */
62 #define MODSEC_MODULE_NAME "ModSecurity for Apache"
63 #define MODSEC_MODULE_VERSION MODSEC_VERSION
64 #define MODSEC_MODULE_NAME_FULL MODSEC_MODULE_NAME "/" MODSEC_MODULE_VERSION " (http://www.modsecurity.org/)"
66 int DSOLOCAL get_modsec_build_type(const char *name);
68 #endif /* _MSC_RELEASE_H_ */