2 * $Id: imap.h 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $
4 * ========================================================================
5 * Copyright 2006-2007 University of Washington
6 * Copyright 2013-2020 Eduardo Chappa
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * ========================================================================
17 #ifndef PINE_IMAP_INCLUDED
18 #define PINE_IMAP_INCLUDED
21 #include "../pith/imap.h"
24 /* exported prototypes */
25 void pine_parse_quota (MAILSTREAM
*, unsigned char *, QUOTALIST
*);
26 QUOTALIST
*pine_quotalist_copy (QUOTALIST
*);
27 void *pine_block_notify(int, void *);
28 long pine_tcptimeout(long, long, char *);
29 long pine_sslcertquery(char *, char *, char *);
30 char *pine_newsrcquery(MAILSTREAM
*, char *, char *);
31 int url_local_certdetails(char *);
32 void pine_sslfailure(char *, char *, unsigned long);
33 void mm_expunged_current(long unsigned int);
34 char *oauth2_get_access_code(char *, char *, OAUTH2_S
*, int *);
36 #ifdef LOCAL_PASSWD_CACHE
37 int get_passfile_passwd(char *, char **, char *, STRLIST_S
*, int);
38 int get_passfile_passwd_auth(char *, char **, char *, STRLIST_S
*, int, char *);
39 int is_using_passfile(void);
40 void set_passfile_passwd(char *, char *, char *, STRLIST_S
*, int, int);
41 void set_passfile_passwd_auth(char *, char *, char *, STRLIST_S
*, int, int, char *);
42 char *get_passfile_user(char *, STRLIST_S
*);
43 void free_passfile_cache(void);
44 #endif /* LOCAL_PASSWD_CACHE */
47 void erase_windows_credentials(void);
51 void macos_erase_keychain(void);
55 #endif /* PINE_IMAP_INCLUDED */