MINOR: hlua: declare hlua_{ref,pushref,unref} functions
Declaring hlua_{ref,pushref,unref} functions to make them usable from
hlua_fcn.c to simplify reference handling.
diff --git a/include/haproxy/hlua.h b/include/haproxy/hlua.h
index b6b1b78..52eed06 100644
--- a/include/haproxy/hlua.h
+++ b/include/haproxy/hlua.h
@@ -56,6 +56,9 @@
int hlua_event_sub(lua_State *L, event_hdl_sub_list *sub_list);
struct task *hlua_process_task(struct task *task, void *context, unsigned int state);
const char *hlua_show_current_location(const char *pfx);
+int hlua_ref(lua_State *L);
+void hlua_pushref(lua_State *L, int ref);
+void hlua_unref(lua_State *L, int ref);
#else /* USE_LUA */