view src/imap-login/imap-proxy.h @ 21723:de665befcc92

imap-login: Log proxy state as human-readable string. Separate sent/received state and log them as strings.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Thu, 09 Mar 2017 10:41:52 -0500
parents e456e1bce47f
children
line wrap: on
line source

#ifndef IMAP_PROXY_H
#define IMAP_PROXY_H

void imap_proxy_reset(struct client *client);
int imap_proxy_parse_line(struct client *client, const char *line);

void imap_proxy_error(struct client *client, const char *text);
const char *imap_proxy_get_state(struct client *client);

#endif