equal
deleted
inserted
replaced
32 CASE_STR(MEMCACHE_RPL_NOT_FOUND); |
32 CASE_STR(MEMCACHE_RPL_NOT_FOUND); |
33 CASE_DEFAULT(MEMCACHE_RPL); |
33 CASE_DEFAULT(MEMCACHE_RPL); |
34 } |
34 } |
35 } |
35 } |
36 |
36 |
37 const char *memcache_state_str (enum memcache_req_state state) { |
37 const char *memcache_state_str (enum memcache_state state) { |
38 switch (state) { |
38 switch (state) { |
39 CASE_STR(MEMCACHE_STATE_INVALID); |
39 CASE_STR(MEMCACHE_STATE_INVALID); |
40 CASE_STR(MEMCACHE_STATE_QUEUED); |
40 CASE_STR(MEMCACHE_STATE_QUEUED); |
41 CASE_STR(MEMCACHE_STATE_SEND); |
41 CASE_STR(MEMCACHE_STATE_SEND); |
42 CASE_STR(MEMCACHE_STATE_REPLY); |
42 CASE_STR(MEMCACHE_STATE_REPLY); |
43 CASE_STR(MEMCACHE_STATE_REPLY_DATA); |
43 CASE_STR(MEMCACHE_STATE_REPLY_DATA); |
44 CASE_STR(MEMCACHE_STATE_DONE); |
44 CASE_STR(MEMCACHE_STATE_DONE); |
45 CASE_STR(MEMCACHE_STATE_DATA_DONE); |
45 CASE_STR(MEMCACHE_STATE_DONE_DATA); |
46 CASE_STR(MEMCACHE_STATE_ERROR); |
46 CASE_STR(MEMCACHE_STATE_ERROR); |
47 CASE_DEFAULT(MEMCACHE_STATE); |
47 CASE_DEFAULT(MEMCACHE_STATE); |
48 } |
48 } |
49 } |
49 } |
50 |
50 |