X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/e2641e09cc0daf44f63f654230f72d22acf3a9af..a3309139992de03f3e68ec648db188c1c43057a0:/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;