X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=pop%2Fpop.h;h=3d3f4b58cf0dab517082dc7674c99c8535e66783;hp=38205bb46492db79bc7974a102112a5653b20764;hb=d8aeb41018aaf2f85fbd937278ffdd94164e236e;hpb=baf86ef44a449017ea20c3fcb252b66dc43fe6ce diff --git a/pop/pop.h b/pop/pop.h index 38205bb..3d3f4b5 100644 --- a/pop/pop.h +++ b/pop/pop.h @@ -10,8 +10,10 @@ #ifndef _POP_H #define _POP_H 1 +#include +#include + #include "mx.h" -#include "mutt_socket.h" #define POP_PORT 110 #define POP_SSL_PORT 995 @@ -38,7 +40,7 @@ typedef enum { } pop_auth_res_t; typedef struct { - unsigned int index; + int index; char *path; } POP_CACHE; @@ -94,9 +96,9 @@ void pop_apop_timestamp (POP_DATA *, char *); int pop_parse_path (const char *, ACCOUNT *); int pop_connect (POP_DATA *); pop_query_status pop_open_connection (POP_DATA *); -pop_query_status pop_query_d (POP_DATA *, char *, size_t, char *); -pop_query_status pop_fetch_data (POP_DATA *, char *, char *, int (*funct) (char *, void *), - void *); +pop_query_status pop_query_d (POP_DATA *, char *, size_t, const char *); +pop_query_status pop_fetch_data (POP_DATA *, const char *, progress_t*, + int (*funct) (char *, void *), void *); pop_query_status pop_reconnect (CONTEXT *); void pop_logout (CONTEXT *); void pop_error (POP_DATA *, char *);