dict-redis.c revision 3fdae9cc0f5d6ce05afdaf1e2ab35fb5dbdf0d17
0N/A#include "connection.h"
0N/A#include "dict-private.h"
0N/Aenum redis_input_state {
0N/Astruct redis_connection {
0N/A unsigned int bytes_left;
0N/A bool value_not_found;
0N/A bool value_received;
0N/Astruct redis_dict_reply {
0N/A unsigned int reply_count;
0N/Astruct redis_dict {
0N/A bool transaction_open;
0N/Astruct redis_dict_transaction_context {
const unsigned char *data;
const char *line;
const char *line;
if (count == 0) {
switch (state) {
case REDIS_INPUT_STATE_GET:
i_unreached();
case REDIS_INPUT_STATE_SELECT:
case REDIS_INPUT_STATE_MULTI:
case REDIS_INPUT_STATE_EXEC:
int ret;
if (ret < 0) {
if (!success) {
case DICT_USERNAME_SEPARATOR:
unsigned int secs;
int ret = 0;
i_unreached();
*args);
if (ret < 0) {
i_unreached();
return key;
const char *cmd;
static struct dict_transaction_context *
void *context)
if (async) {
const char *key)
const char *cmd;
const char *diffstr;
NULL,
NULL,
NULL,
NULL,