]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: lua: move class registration facilities
authorThierry Fournier <tfournier@arpalert.org>
Mon, 22 Feb 2016 18:52:08 +0000 (19:52 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 30 Mar 2016 13:42:20 +0000 (15:42 +0200)
commitddd8988fe5c70c98df9d845920877d4ccd13df4f
treeb90a70a48cd367b5840b258a6a06ebe87313efd4
parent9ba1d024dbed517526295f43d6363f3657040a2f
MINOR: lua: move class registration facilities

The functions
 - hlua_class_const_int()
 - hlua_class_const_str()
 - hlua_class_function()
are use for common class registration actions.

The function 'hlua_dump_object()' is generic dump name function.

These functions can be used by all the HAProxy objects, so I move
it into the safe functions file.
include/proto/hlua_fcn.h
src/hlua.c
src/hlua_fcn.c