5ef28f68edef46f69961b19b7c1dcd8ec5a955e8Timo Sirainen /* required: */
5ef28f68edef46f69961b19b7c1dcd8ec5a955e8Timo Sirainen /* optional: */
5ef28f68edef46f69961b19b7c1dcd8ec5a955e8Timo Sirainen const char *session_id, *userdb_fields, *stats;
5ef28f68edef46f69961b19b7c1dcd8ec5a955e8Timo Sirainenimap_client_create(int fd, const struct imap_client_state *state);
5ef28f68edef46f69961b19b7c1dcd8ec5a955e8Timo Sirainenvoid imap_client_add_notify_fd(struct imap_client *client, int fd);
5ef28f68edef46f69961b19b7c1dcd8ec5a955e8Timo Sirainenvoid imap_client_create_finish(struct imap_client *client);
5ef28f68edef46f69961b19b7c1dcd8ec5a955e8Timo Sirainenvoid imap_client_destroy(struct imap_client **_client, const char *reason);