X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/55951f900590cc637c67cc820400fd94e8e5bf7f..eb624e3416f8636f15b83349390d5c0dcbeb8b58:/src/redis.h diff --git a/src/redis.h b/src/redis.h index e86823db..9702010e 100644 --- a/src/redis.h +++ b/src/redis.h @@ -517,6 +517,7 @@ struct redisServer { int saveparamslen; /* Number of saving points */ char *rdb_filename; /* Name of RDB file */ int rdb_compression; /* Use compression in RDB? */ + int rdb_checksum; /* Use RDB checksum? */ time_t lastsave; /* Unix time of last save succeeede */ int lastbgsave_status; /* REDIS_OK or REDIS_ERR */ int stop_writes_on_bgsave_err; /* Don't allow writes if can't BGSAVE */ @@ -693,7 +694,7 @@ extern dictType hashDictType; long long ustime(void); long long mstime(void); void getRandomHexChars(char *p, unsigned int len); -uint64_t crc64(const unsigned char *s, uint64_t l); +uint64_t crc64(uint64_t crc, const unsigned char *s, uint64_t l); void exitFromChild(int retcode); /* networking.c -- Networking and Client related operations */