dict-connection.h revision ac00e30516d93d289c71bd59f338c26693329e67
#ifndef DICT_CONNECTION_H
#define DICT_CONNECTION_H
#include "dict.h"
struct dict_connection_transaction {
unsigned int id;
struct dict_connection *conn;
struct dict_transaction_context *ctx;
};
struct dict_connection {
struct dict_server *server;
int refcount;
char *username;
char *name;
enum dict_data_type value_type;
int fd;
/* There are only a few transactions per client, so keeping them in
array is fast enough */
unsigned int destroyed:1;
};
void dict_connections_destroy_all(void);
#endif