#if defined(STDC_HEADERS)
#include <stdlib.h>
#endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
#include "fetchmail.h"
#include "socket.h"
"HELO %s %s",
ctl->remotename, ctl->password);
shroud[0] = '\0';
+ return status;
}
static int pop2_getrange(int sock, struct query *ctl, const char *folder,
return(gen_transact(sock, "QUIT"));
}
-const static struct method pop2 =
+static const struct method pop2 =
{
"POP2", /* Post Office Protocol v2 */
#if INET6_ENABLE
pop2_getauth, /* get authorization */
pop2_getrange, /* query range of messages */
NULL, /* no way to get sizes */
+ NULL, /* no way to get sizes of subsets */
NULL, /* messages are always new */
pop2_fetch, /* request given message */
NULL, /* no way to fetch body alone */