summaryrefslogtreecommitdiff
path: root/src/pubsub.c
diff options
context:
space:
mode:
authorUri Shachar <uri@redislabs.com>2021-06-16 06:35:13 +0300
committerGitHub <noreply@github.com>2021-06-15 20:35:13 -0700
commitc7e502a07bdeec29c2be41da70b483b2156d36db (patch)
tree08625974ea3e8aadd44b5940ea7ed71f777151f3 /src/pubsub.c
parente5d8a5eb85b50ee7da1bf652c7d67e8e5b757ec9 (diff)
downloadredis-c7e502a07bdeec29c2be41da70b483b2156d36db.tar.gz
Cleaning up the cluster interface by moving almost all related declar… (#9080)
* Cleaning up the cluster interface by moving almost all related declarations into cluster.h (no logic change -- just moving declarations/definitions around) This initial effort leaves two items out of scope - the configuration parsing into the server struct and the internals exposed by the clusterNode struct. * Remove unneeded declarations of dictSds* Ideally all the dictSds functionality would move from server.c into a dedicated module so we can avoid the duplication in redis-benchmark/cli * Move crc16 back into server.h, will be moved out once we create a seperate header file for hashing functions
Diffstat (limited to 'src/pubsub.c')
-rw-r--r--src/pubsub.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pubsub.c b/src/pubsub.c
index 6d58e1b89..0169b3604 100644
--- a/src/pubsub.c
+++ b/src/pubsub.c
@@ -28,6 +28,7 @@
*/
#include "server.h"
+#include "cluster.h"
int clientSubscriptionsCount(client *c);