dict-connection.h revision 1a883718249b8db128a105ee7f03293873f1f9c5
#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;
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 */
};
void dict_connections_destroy_all(void);
#endif