X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/5521fa6a9f1f22bf2034d26b68e885c1dd5baa3a..09e2d9eeba3ff65fd60f905a5bcb0f684f7a883e:/src/redis.h diff --git a/src/redis.h b/src/redis.h index 2346b4eb..693347ef 100644 --- a/src/redis.h +++ b/src/redis.h @@ -309,6 +309,7 @@ typedef struct redisClient { sds querybuf; int argc; robj **argv; + struct redisCommand *cmd; int reqtype; int multibulklen; /* number of multi bulk arguments left to read */ long bulklen; /* length of bulk argument in multi bulk request */ @@ -803,7 +804,7 @@ void popGenericCommand(redisClient *c, int where); void unwatchAllKeys(redisClient *c); void initClientMultiState(redisClient *c); void freeClientMultiState(redisClient *c); -void queueMultiCommand(redisClient *c, struct redisCommand *cmd); +void queueMultiCommand(redisClient *c); void touchWatchedKey(redisDb *db, robj *key); void touchWatchedKeysOnFlush(int dbid); @@ -914,7 +915,7 @@ int processCommand(redisClient *c); void setupSignalHandlers(void); struct redisCommand *lookupCommand(sds name); struct redisCommand *lookupCommandByCString(char *s); -void call(redisClient *c, struct redisCommand *cmd); +void call(redisClient *c); int prepareForShutdown(); void redisLog(int level, const char *fmt, ...); void usage();