NeoMutt  2020-06-26-30-g76c339
Teaching an old dog new tricks
Go to the documentation of this file.
35 #ifndef MUTT_POP_LIB_H
36 #define MUTT_POP_LIB_H
38 #include <stdbool.h>
39 #include "core/lib.h"
40 #include "mx.h"
42 struct stat;
44 /* These Config Variables are only used in pop/pop.c */
45 extern short C_PopCheckinterval;
46 extern unsigned char C_PopDelete;
47 extern char * C_PopHost;
48 extern bool C_PopLast;
49 extern char * C_PopOauthRefreshCommand;
50 extern char * C_PopPass;
51 extern char * C_PopUser;
53 /* These Config Variables are only used in pop/pop_auth.c */
54 extern struct Slist *C_PopAuthenticators;
55 extern bool C_PopAuthTryAll;
57 /* These Config Variables are only used in pop/pop_lib.c */
58 extern unsigned char C_PopReconnect;
60 extern struct MxOps MxPopOps;
62 void pop_fetch_mail(void);
63 enum MailboxType pop_path_probe(const char *path, const struct stat *st);
65 #endif /* MUTT_POP_LIB_H */
struct Slist * C_PopAuthenticators
Config: (pop) List of allowed authentication methods.
Definition: pop_auth.c:47
bool C_PopAuthTryAll
Config: (pop) Try all available authentication methods.
Definition: pop_auth.c:48
String list.
Definition: slist.h:43
short C_PopCheckinterval
Config: (pop) Interval between checks for new mail.
Definition: pop.c:67
API for mailboxes.
char * C_PopUser
Config: (pop) Username of the POP server.
Definition: pop_lib.c:57
Convenience wrapper for the core headers.
unsigned char C_PopReconnect
Config: (pop) Reconnect to the server is the connection is lost.
Definition: pop_lib.c:56
char * C_PopOauthRefreshCommand
Config: (pop) External command to generate OAUTH refresh token.
Definition: pop_lib.c:54
struct MxOps MxPopOps
POP Mailbox - Implements MxOps.
Definition: pop.c:1277
unsigned char C_PopDelete
Config: (pop) After downloading POP messages, delete them on the server.
Definition: pop.c:71
bool C_PopLast
Config: (pop) Use the &#39;LAST&#39; command to fetch new mail.
Definition: pop.c:73
void pop_fetch_mail(void)
Fetch messages and save them in $spoolfile.
Definition: pop.c:569
char * C_PopHost
Config: (pop) Url of the POP server.
Definition: pop.c:72
enum MailboxType pop_path_probe(const char *path, const struct stat *st)
Is this a POP Mailbox? - Implements MxOps::path_probe()
Definition: pop.c:1230
Supported mailbox formats.
Definition: mailbox.h:43
char * C_PopPass
Config: (pop) Password of the POP server.
Definition: pop_lib.c:55
The Mailbox API.
Definition: mx.h:105