diff options
author | dormando <dormando@rydia.net> | 2022-08-01 23:33:48 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2022-08-03 11:53:33 -0700 |
commit | 4f27245d04e6bd0e7b32b2f930fe78bbae1080df (patch) | |
tree | a4d786d5fd74d28adff42939a3fbc530d9dcfab4 /proxy.h | |
parent | 71c7d8604713104fd9b6ad54c28dbdaa047251d8 (diff) | |
download | memcached-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |