1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
   | typedef struct redisClient {          redisDb *db;          int dictid;
           int fd;          robj *name;          sds querybuf;
           robj **argv;          int argc;          struct redisCommand *cmd, *lastcmd;
           int bufpos;          char buf[REDIS_REPLY_CHUNK_BYTES];
           int flags;          int authenticated;      
           time_t ctime;          time_t lastinteraction;          time_t obuf_soft_limit_reached_time;
                int replstate;          int repldbfd;                     off_t repldboff;          off_t repldbsize;
           multiState mstate;          list *watched_keys; } redisClient;
 
  |