Skip to content

Commit c0740b8

Browse files
authored
Updated for Redis 6.0.9/5.0.10 (#48)
1 parent cbc5e6a commit c0740b8

File tree

9 files changed

+3396
-9
lines changed

9 files changed

+3396
-9
lines changed

4.0/redismodule.h

Lines changed: 405 additions & 0 deletions
Large diffs are not rendered by default.

5.0/redis-module-sdk.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
#pragma once
3+
4+
#define REDISMODULE_XAPI_ENTERPRISE(X) \
5+
X(int, AvoidReplicaTraffic, ()) \
6+
X(int, Fork, (RedisModuleForkDoneHandler cb, void *user_data)) \
7+
X(int, ExitFromChild, (int retcode)) \
8+
X(int, KillForkChild, (int child_pid))
9+
10+
#define REDISMODULE_XAPI_EXTENSIONS(X) REDISMODULE_XAPI_ENTERPRISE(X)
11+
12+
#include "RedisModuleSDK/5.0/redismodulex.h"

5.0/redismodule.h

Lines changed: 568 additions & 0 deletions
Large diffs are not rendered by default.

5.0/redismodulex.h

Lines changed: 437 additions & 0 deletions
Large diffs are not rendered by default.

6.0/redis-module-sdk.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
#pragma once
3+
4+
#define REDISMODULE_XAPI_ENTERPRISE(X)
5+
6+
#define REDISMODULE_XAPI_EXTENSIONS(X) REDISMODULE_XAPI_ENTERPRISE(X)
7+
8+
#include "RedisModuleSDK/6.0/redismodulex.h"

0 commit comments

Comments
 (0)