X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/11e0c4c55b8edd8d2226ba2e5fde989778695195..d4d208595c78d78196c926c55799bc81ae06f230:/src/redis.h diff --git a/src/redis.h b/src/redis.h index f3b3134e..37f0b2ab 100644 --- a/src/redis.h +++ b/src/redis.h @@ -519,6 +519,7 @@ struct redisServer { int cfd; /* Cluster bus lisetning socket */ list *clients; /* List of active clients */ list *slaves, *monitors; /* List of slaves and MONITORs */ + redisClient *current_client; /* Current client, only used on crash report */ char neterr[ANET_ERR_LEN]; /* Error buffer for anet.c */ /* RDB / AOF loading information */ int loading; /* We are loading data from disk if true */ @@ -1159,5 +1160,7 @@ void _redisAssertWithInfo(redisClient *c, robj *o, char *estr, char *file, int l void _redisAssert(char *estr, char *file, int line); void _redisPanic(char *msg, char *file, int line); void bugReportStart(void); - +void redisLogObjectDebugInfo(robj *o); +void sigsegvHandler(int sig, siginfo_t *info, void *secret); +sds genRedisInfoString(char *section); #endif