Willy Tarreau
deb9ed8f60
[MEDIUM] config: remove the limitation of 10 reqadd/rspadd statements
...
Now we use a linked list, there is no limit anymore.
2010-01-03 21:22:14 +01:00
Willy Tarreau
bc04ce7cd9
[MINOR] add a new back-reference type : struct bref
...
This type will be used to maintain back-references to items which
are subject to move between accesses. Typical usage includes session
removal during a listing.
2008-12-07 20:00:15 +01:00
Willy Tarreau
47d940485a
[OPTIM] add branch prediction hints in list manipulations
...
GCC does not do very clever things with the ifs in list manipulation
macros. Adding a 'likely' helps it remove expensive jumps and useless
code.
2008-06-23 22:39:37 +02:00
Willy Tarreau
bd578bbe1a
[CLEANUP] silent warning about LIST_* being redefined on OpenBSD
...
Building ev_kqueue on OpenBSD causes some warnings to occur,
because OpenBSD also uses LIST_* macros in sys/queue.h, included
from sys/event.h. Simply undefine those macros since we don't
need them.
2007-10-28 11:41:06 +01:00
Willy Tarreau
2b1dccd501
[MINOR] add LIST_HEAD_INIT to the list management macros
...
It is useful to have the ability to initialize a list while declaring it.
2007-05-08 14:07:44 +02:00
Willy Tarreau
b9c62b90da
[MEDIUM] add better list management macros
...
The FOREACH_ITEM and FOREACH_ITEM_SAFE macros are nasty, they
require too many arguments. Let's port those from linux instead.
2007-05-08 14:07:39 +02:00
Willy Tarreau
40cf67da89
[MINOR] added support for dual-linked lists
...
Imported dual-linked lists management macros from the old scheduler project,
and fixed a long-standing nasty bug in the DLIST_ADD() macro.
2007-04-29 13:40:50 +02:00
Willy Tarreau
e3ba5f0aaa
[CLEANUP] included common/version.h everywhere
2006-06-29 18:54:54 +02:00
Willy Tarreau
2dd0d4799e
[CLEANUP] renamed include/haproxy to include/common
2006-06-29 17:53:05 +02:00