|
Packit Service |
384592 |
/*
|
|
Packit Service |
384592 |
* ModSecurity for Apache 2.x, http://www.modsecurity.org/
|
|
Packit Service |
384592 |
* Copyright (c) 2004-2013 Trustwave Holdings, Inc. (http://www.trustwave.com/)
|
|
Packit Service |
384592 |
*
|
|
Packit Service |
384592 |
* You may not use this file except in compliance with
|
|
Packit Service |
384592 |
* the License. You may obtain a copy of the License at
|
|
Packit Service |
384592 |
*
|
|
Packit Service |
384592 |
* http://www.apache.org/licenses/LICENSE-2.0
|
|
Packit Service |
384592 |
*
|
|
Packit Service |
384592 |
* If any of the files related to licensing are missing or if you have any
|
|
Packit Service |
384592 |
* other questions related to licensing please contact Trustwave Holdings, Inc.
|
|
Packit Service |
384592 |
* directly using the email address security@modsecurity.org.
|
|
Packit Service |
384592 |
*/
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
#ifndef _MSC_RELEASE_H_
|
|
Packit Service |
384592 |
#define _MSC_RELEASE_H_
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
#include <stdlib.h>
|
|
Packit Service |
384592 |
#include <string.h>
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
/* ENH: Clean this mess up by detecting this is possible */
|
|
Packit Service |
384592 |
#if !(defined(_AIX) || defined(WIN32) || defined(CYGWIN) || defined(NETWARE) || defined(SOLARIS2) || defined(OSF1))
|
|
Packit Service |
384592 |
#define DSOLOCAL __attribute__((visibility("hidden")))
|
|
Packit Service |
384592 |
#else
|
|
Packit Service |
384592 |
#define DSOLOCAL
|
|
Packit Service |
384592 |
#endif
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
#if defined(DEBUG_MEM)
|
|
Packit Service |
384592 |
/* Nothing Yet */
|
|
Packit Service |
384592 |
#endif
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
/* For GNU C, tell the compiler to check printf like formatters */
|
|
Packit Service |
384592 |
#if (defined(__GNUC__) && !defined(SOLARIS2))
|
|
Packit Service |
384592 |
#define PRINTF_ATTRIBUTE(a,b) __attribute__((format (printf, a, b)))
|
|
Packit Service |
384592 |
#else
|
|
Packit Service |
384592 |
#define PRINTF_ATTRIBUTE(a,b)
|
|
Packit Service |
384592 |
#endif
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
#define MODSEC_VERSION_MAJOR "2"
|
|
Packit Service |
384592 |
#define MODSEC_VERSION_MINOR "9"
|
|
Packit Service |
384592 |
#define MODSEC_VERSION_MAINT "2"
|
|
Packit Service |
384592 |
#define MODSEC_VERSION_TYPE ""
|
|
Packit Service |
384592 |
#define MODSEC_VERSION_RELEASE ""
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
#define MODSEC_VERSION_SUFFIX MODSEC_VERSION_TYPE MODSEC_VERSION_RELEASE
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
#define MODSEC_VERSION \
|
|
Packit Service |
384592 |
MODSEC_VERSION_MAJOR "." MODSEC_VERSION_MINOR "." MODSEC_VERSION_MAINT \
|
|
Packit Service |
384592 |
MODSEC_VERSION_SUFFIX
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
/* Apache Module Defines */
|
|
Packit Service |
384592 |
#ifdef VERSION_IIS
|
|
Packit Service |
384592 |
#define MODSEC_MODULE_NAME "ModSecurity for IIS (STABLE)"
|
|
Packit Service |
384592 |
#else
|
|
Packit Service |
384592 |
#ifdef VERSION_NGINX
|
|
Packit Service |
384592 |
#define MODSEC_MODULE_NAME "ModSecurity for nginx (STABLE)"
|
|
Packit Service |
384592 |
#else
|
|
Packit Service |
384592 |
#ifdef VERSION_STANDALONE
|
|
Packit Service |
384592 |
#define MODSEC_MODULE_NAME "ModSecurity Standalone (STABLE)"
|
|
Packit Service |
384592 |
#else
|
|
Packit Service |
384592 |
#define MODSEC_MODULE_NAME "ModSecurity for Apache"
|
|
Packit Service |
384592 |
#endif
|
|
Packit Service |
384592 |
#endif
|
|
Packit Service |
384592 |
#endif
|
|
Packit Service |
384592 |
#define MODSEC_MODULE_VERSION MODSEC_VERSION
|
|
Packit Service |
384592 |
#define MODSEC_MODULE_NAME_FULL MODSEC_MODULE_NAME "/" MODSEC_MODULE_VERSION " (http://www.modsecurity.org/)"
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
int DSOLOCAL get_modsec_build_type(const char *name);
|
|
Packit Service |
384592 |
|
|
Packit Service |
384592 |
#endif /* _MSC_RELEASE_H_ */
|