X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/8b7c3455b964d634453cfe7acdb833db10a2fed5..edba65d09084dfaa6f44a6f182c6d519e249a0c4:/src/redis.h diff --git a/src/redis.h b/src/redis.h index 982f33fe..921e319e 100644 --- a/src/redis.h +++ b/src/redis.h @@ -245,6 +245,11 @@ #define REDIS_CALL_PROPAGATE 4 #define REDIS_CALL_FULL (REDIS_CALL_SLOWLOG | REDIS_CALL_STATS | REDIS_CALL_PROPAGATE) +/* Command propagation flags, see propagate() function */ +#define REDIS_PROPAGATE_NONE 0 +#define REDIS_PROPAGATE_AOF 1 +#define REDIS_PROPAGATE_REPL 2 + /* We can print the stacktrace, so our assert is defined this way: */ #define redisAssertWithInfo(_c,_o,_e) ((_e)?(void)0 : (_redisAssertWithInfo(_c,_o,#_e,__FILE__,__LINE__),_exit(1))) #define redisAssert(_e) ((_e)?(void)0 : (_redisAssert(#_e,__FILE__,__LINE__),_exit(1)))