#ifndef IMAP_STATE_H
#define IMAP_STATE_H
/* Export the IMAP client state to the given buffer. Returns 1 if ok,
0 if state couldn't be exported, -1 if temporary internal error error. */
const char **error_r);
const char **error_r);
/* Returns 1 if ok, 0 if state was corrupted, -1 if other error. Internal state
comes from another Dovecot component, which can override IP addresses,
session IDs, etc. */
const char **error_r);
const char **error_r);
/* INTERNAL API: Note that the "internal" flag specifies whether we're doing
IMAP client. */
const char **error_r);
#endif