X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/2cbdab903fc0a66f246647f4d79e92b3e1778b82..e51a218aaacab92982def45dbc0c90ccb44f30e1:/src/redis.h diff --git a/src/redis.h b/src/redis.h index ba209c7b..42a9b581 100644 --- a/src/redis.h +++ b/src/redis.h @@ -646,6 +646,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 */ @@ -827,7 +828,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 */