X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/e2641e09cc0daf44f63f654230f72d22acf3a9af..2f52dac9effe41f79e502c2c8fb78181c874a704:/src/pubsub.c diff --git a/src/pubsub.c b/src/pubsub.c index c9f5f310..2bd3d058 100644 --- a/src/pubsub.c +++ b/src/pubsub.c @@ -1,5 +1,9 @@ #include "redis.h" +/*----------------------------------------------------------------------------- + * Pubsub low level API + *----------------------------------------------------------------------------*/ + void freePubsubPattern(void *p) { pubsubPattern *pat = p; @@ -215,6 +219,10 @@ int pubsubPublishMessage(robj *channel, robj *message) { return receivers; } +/*----------------------------------------------------------------------------- + * Pubsub commands implementation + *----------------------------------------------------------------------------*/ + void subscribeCommand(redisClient *c) { int j;