forked from redis/redis
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
let lua call redis commands (no replies yet though!)
- Loading branch information
1 parent
b3bccca
commit 5e1a196
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
#ifndef __LUA_H | ||
#define __LUA_H | ||
|
||
#include <lua.h> | ||
#include "redis.h" | ||
|
||
void initLua(void); | ||
void luaGenericExecCommand(redisClient *c, const char *); | ||
int luaExecRedisCommand(lua_State *L); | ||
|
||
#endif |