X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/7585836e6eb1c0199e8d9ea2c3f7a0f67b03c00b..3791000f15ad793854fac48aa4840914970048db:/src/redis.h diff --git a/src/redis.h b/src/redis.h index 4848de95..d9609991 100644 --- a/src/redis.h +++ b/src/redis.h @@ -148,6 +148,7 @@ #define REDIS_CLOSE_AFTER_REPLY 128 /* Close after writing entire reply. */ #define REDIS_UNBLOCKED 256 /* This client was unblocked and is stored in server.unblocked_clients */ +#define REDIS_LUA_CLIENT 512 /* This is a non connected client used by Lua */ /* Client request types */ #define REDIS_REQ_INLINE 1 @@ -657,6 +658,7 @@ struct redisServer { clusterState cluster; /* Scripting */ lua_State *lua; + redisClient *lua_client; }; typedef struct pubsubPattern {