mirror of
https://github.com/fluencelabs/redis
synced 2025-06-21 21:11:33 +00:00
Lua function creation on EVAL, basic Lua return type to Redis protocol convertion done.
This commit is contained in:
@ -19,6 +19,7 @@
|
||||
#include <pthread.h>
|
||||
#include <syslog.h>
|
||||
#include <netinet/in.h>
|
||||
#include <lua.h>
|
||||
|
||||
#include "ae.h" /* Event driven programming library */
|
||||
#include "sds.h" /* Dynamic safe strings */
|
||||
@ -654,6 +655,8 @@ struct redisServer {
|
||||
/* Cluster */
|
||||
int cluster_enabled;
|
||||
clusterState cluster;
|
||||
/* Scripting */
|
||||
lua_State *lua;
|
||||
};
|
||||
|
||||
typedef struct pubsubPattern {
|
||||
@ -1075,6 +1078,9 @@ int clusterAddNode(clusterNode *node);
|
||||
void clusterCron(void);
|
||||
clusterNode *getNodeByQuery(redisClient *c, struct redisCommand *cmd, robj **argv, int argc, int *hashslot, int *ask);
|
||||
|
||||
/* Scripting */
|
||||
void scriptingInit(void);
|
||||
|
||||
/* Git SHA1 */
|
||||
char *redisGitSHA1(void);
|
||||
char *redisGitDirty(void);
|
||||
@ -1203,6 +1209,7 @@ void migrateCommand(redisClient *c);
|
||||
void dumpCommand(redisClient *c);
|
||||
void objectCommand(redisClient *c);
|
||||
void clientCommand(redisClient *c);
|
||||
void evalCommand(redisClient *c);
|
||||
|
||||
#if defined(__GNUC__)
|
||||
void *calloc(size_t count, size_t size) __attribute__ ((deprecated));
|
||||
|
Reference in New Issue
Block a user