* Rewrite support for specific SSL encryption protocols, including
[alpine.git] / alpine / imap.h
blob08f51ce54cdd7881952ba5ece89dd7bc1d58ba7d
1 /*
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-2018 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 protoypes */
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);
35 #ifdef LOCAL_PASSWD_CACHE
36 int get_passfile_passwd(char *, char *, char *, STRLIST_S *, int);
37 int is_using_passfile(void);
38 void set_passfile_passwd(char *, char *, char *, STRLIST_S *, int, int);
39 char *get_passfile_user(char *, STRLIST_S *);
40 void free_passfile_cache(void);
41 #endif /* LOCAL_PASSWD_CACHE */
43 #if (WINCRED > 0)
44 void erase_windows_credentials(void);
45 #endif
47 #ifdef APPLEKEYCHAIN
48 void macos_erase_keychain(void);
49 #endif
52 #endif /* PINE_IMAP_INCLUDED */