]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: lua: txn: import existing sample-fetches in the class TXN
authorThierry FOURNIER <tfournier@haproxy.com>
Mon, 16 Feb 2015 19:14:51 +0000 (20:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 28 Feb 2015 22:12:35 +0000 (23:12 +0100)
commitd0fa538fe3e8e57409dfcd86731e802490390cbc
tree2abc0f38a838a2caab9e97828e5d77e47e579bde
parent05c0b8ab0d3c32eca54fc03bba4549cd96dfe4b4
MINOR: lua: txn: import existing sample-fetches in the class TXN

This patch adds the browsing of all the HAProxy fetches and
create associated LUA functions. The HAProxy internal fetches
can be used in LUA trough the class "TXN".

Note that the symbols "-", "+" and "." in the name of current
sample fetch are rewrited as "_" in LUA because ".", "-" and "+"
are operators.
include/types/hlua.h
src/hlua.c