X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=pop%2Fpop.h;h=3d3f4b58cf0dab517082dc7674c99c8535e66783;hp=bbafe1f025389a9c709dfa1df8b3fb4324d09835;hb=d8aeb41018aaf2f85fbd937278ffdd94164e236e;hpb=4711a1a970ba7dda6eaf71f16fdfd74f90d02bb8 diff --git a/pop/pop.h b/pop/pop.h index bbafe1f..3d3f4b5 100644 --- a/pop/pop.h +++ b/pop/pop.h @@ -10,9 +10,10 @@ #ifndef _POP_H #define _POP_H 1 +#include +#include + #include "mx.h" -#include "mutt_socket.h" -#include "mutt_curses.h" #define POP_PORT 110 #define POP_SSL_PORT 995 @@ -39,7 +40,7 @@ typedef enum { } pop_auth_res_t; typedef struct { - unsigned int index; + int index; char *path; } POP_CACHE; @@ -95,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 *, progress_t*, 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 *);