mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 05:41:26 +02:00
- acl: smarter integer comparison support in ACLs - acl: specify the direction during fetches - acl: provide the argument length for fetch functions - acl: provide a reference to the expr to fetch() - acl: implement matching on header values - acl: support maching on 'path' component - acl: permit to return any header when no name specified - errorfile: use a local file to feed error messages - negation in ACL conds was not cleared between terms - fix segfault at exit when using captures - improve memory freeing upon exit - acl: support '-i' to ignore case when matching - str2net() must not change the const char * - provide default ACLs - acl: distinguish between request and response headers - added the 'use_backend' keyword for full content-switching - acl: added the TRUE and FALSE ACLs. - shut warnings 'is*' macros from ctype.h on solaris
71 lines
1.8 KiB
C
71 lines
1.8 KiB
C
/*
|
|
include/common/version.h
|
|
This file serves as a template for future include files.
|
|
|
|
Copyright (C) 2000-2007 Willy Tarreau - w@1wt.eu
|
|
|
|
This library is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU Lesser General Public
|
|
License as published by the Free Software Foundation, version 2.1
|
|
exclusively.
|
|
|
|
This library is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Lesser General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
License along with this library; if not, write to the Free Software
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
|
|
#ifndef _COMMON_VERSION_H
|
|
#define _COMMON_VERSION_H
|
|
|
|
#include <common/config.h>
|
|
|
|
#ifdef CONFIG_PRODUCT_NAME
|
|
#define PRODUCT_NAME CONFIG_PRODUCT_NAME
|
|
#else
|
|
#define PRODUCT_NAME "HAProxy"
|
|
#endif
|
|
|
|
#ifdef CONFIG_PRODUCT_BRANCH
|
|
#define PRODUCT_BRANCH CONFIG_PRODUCT_BRANCH
|
|
#else
|
|
#define PRODUCT_BRANCH "1.3"
|
|
#endif
|
|
|
|
#ifdef CONFIG_PRODUCT_URL
|
|
#define PRODUCT_URL CONFIG_PRODUCT_URL
|
|
#else
|
|
#define PRODUCT_URL "http://haproxy.1wt.eu/"
|
|
#endif
|
|
|
|
#ifdef CONFIG_PRODUCT_URL_UPD
|
|
#define PRODUCT_URL_UPD CONFIG_PRODUCT_URL_UPD
|
|
#else
|
|
#define PRODUCT_URL_UPD "http://haproxy.1wt.eu/#down"
|
|
#endif
|
|
|
|
#ifdef CONFIG_PRODUCT_URL_DOC
|
|
#define PRODUCT_URL_DOC CONFIG_PRODUCT_URL_DOC
|
|
#else
|
|
#define PRODUCT_URL_DOC "http://haproxy.1wt.eu/#docs"
|
|
#endif
|
|
|
|
#ifdef CONFIG_HAPROXY_VERSION
|
|
#define HAPROXY_VERSION CONFIG_HAPROXY_VERSION
|
|
#else
|
|
#define HAPROXY_VERSION "1.3.12"
|
|
#endif
|
|
|
|
#ifdef CONFIG_HAPROXY_DATE
|
|
#define HAPROXY_DATE CONFIG_HAPROXY_DATE
|
|
#else
|
|
#define HAPROXY_DATE "2007/06/17"
|
|
#endif
|
|
|
|
#endif /* _COMMON_VERSION_H */
|
|
|