summaryrefslogtreecommitdiff
path: root/proxy.h
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2022-08-01 23:33:48 -0700
committerdormando <dormando@rydia.net>2022-08-03 11:53:33 -0700
commit4f27245d04e6bd0e7b32b2f930fe78bbae1080df (patch)
treea4d786d5fd74d28adff42939a3fbc530d9dcfab4 /proxy.h
parent71c7d8604713104fd9b6ad54c28dbdaa047251d8 (diff)
downloadmemcached-4f27245d04e6bd0e7b32b2f930fe78bbae1080df.tar.gz
proxy: add req:flag_token("F")
function accepts a flag, returns (bool, token|nil). bool indicates if the flag exists, and if the flag has a token it is returned instead of nil as the second value.
Diffstat (limited to 'proxy.h')
-rw-r--r--proxy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proxy.h b/proxy.h
index fd7ad99..1c5da3d 100644
--- a/proxy.h
+++ b/proxy.h
@@ -458,6 +458,7 @@ int mcplib_request_rtrimkey(lua_State *L);
int mcplib_request_token(lua_State *L);
int mcplib_request_ntokens(lua_State *L);
int mcplib_request_has_flag(lua_State *L);
+int mcplib_request_flag_token(lua_State *L);
int mcplib_request_gc(lua_State *L);
int mcplib_open_dist_jump_hash(lua_State *L);