Cluster: cluster stuff moved from redis.h to cluster.h.

This commit is contained in:
antirez
2013-10-09 15:37:20 +02:00
parent 6fa9b1a420
commit 929b6a4480
7 changed files with 258 additions and 244 deletions

View File

@ -29,6 +29,7 @@
*/
#include "redis.h"
#include "cluster.h"
#include "endianconv.h"
#include <sys/types.h>
@ -38,6 +39,8 @@
#include <unistd.h>
#include <sys/socket.h>
clusterNode *createClusterNode(char *nodename, int flags);
int clusterAddNode(clusterNode *node);
void clusterAcceptHandler(aeEventLoop *el, int fd, void *privdata, int mask);
void clusterReadHandler(aeEventLoop *el, int fd, void *privdata, int mask);
void clusterSendPing(clusterLink *link, int type);