]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: applet/lua: create a dedicated ->fcn entry in hlua_cli context
authorWilly Tarreau <w@1wt.eu>
Wed, 14 Dec 2016 14:41:45 +0000 (15:41 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 14 Dec 2016 15:48:16 +0000 (16:48 +0100)
commit8ae4f7533d5dfe01c2fa15c4b1b803bc3aa7beaf
tree38896dc5818216f60963b44085e40a691bc46028
parent8cf9c8e663fa468fa2380eddecd671172ff63868
CLEANUP: applet/lua: create a dedicated ->fcn entry in hlua_cli context

We have very few users of the appctx's private field which was introduced
prior to the split of the CLI. Unfortunately it was not removed after the
end. This commit simply introduces hlua_cli->fcn which is the pointer to
the Lua function that the Lua code used to store in this private pointer.
include/types/applet.h
src/hlua.c