view src/dict/dict-commands.h @ 22588:041460202062

ostream-multiplex: Unreference stream parent Otherwise it won't get free'd.
author Aki Tuomi <aki.tuomi@dovecot.fi>
date Mon, 09 Oct 2017 18:21:24 +0300
parents 7b8c0ca9a67c
children
line wrap: on
line source

#ifndef DICT_COMMANDS_H
#define DICT_COMMANDS_H

struct dict_connection;

struct dict_command_stats {
	struct timing *lookups;
	struct timing *iterations;
	struct timing *commits;
};

extern struct dict_command_stats cmd_stats;

int dict_command_input(struct dict_connection *conn, const char *line);

void dict_connection_cmds_output_more(struct dict_connection *conn);

void dict_commands_init(void);
void dict_commands_deinit(void);

#endif