#define _NETBSD_SOURCE 1
#endif
+#include "gettext.h"
+#define GT_(String) gettext (String)
+#define gettext_noop(String) String
+#define N_(String) gettext_noop (String)
+
struct addrinfo;
/* We need this for size_t */
UID_DELETED= 2, /**< this message has been marked deleted */
UID_EXPUNGED= 3 /**< this message has been expunged */
};
-/*@}*/
+/**/
struct query;
/* mark as seen method */
int (*end_mailbox_poll)(int, struct query *);
/* end-of-mailbox processing */
+ int (*start_idle)(int, struct query *);
+ /* enter idle state */
+ int (*finish_idle)(int, struct query *);
+ /* return from idle state */
int (*logout_cmd)(int, struct query *);
/* logout command */
flag retry; /* can getrange poll for new messages? */
struct hostdata *lead_server; /* ptr to lead query for this server */
int esmtp_options;
int workarounds; /* track which workarounds the user was warned about */
+ int true_idle; /* the server supports true idle connections */
+ int idle_socket; /* the open socket for idle connections */
+ flag idle_ready; /* true if the idle socket has data available */
};
/*