* NTLM authentication support with the ntlm library, in Unix systems.
[alpine.git] / alpine / imap.h
blob33b08a81693137b37b27885eca692b51c37c45e1
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-2017 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();
38 void set_passfile_passwd(char *, char *, char *, STRLIST_S *, int, int);
39 char *get_passfile_user(char *, STRLIST_S *);
40 #endif /* LOCAL_PASSWD_CACHE */
42 #if (WINCRED > 0)
43 void erase_windows_credentials(void);
44 #endif
46 #ifdef APPLEKEYCHAIN
47 void macos_erase_keychain(void);
48 #endif
51 #endif /* PINE_IMAP_INCLUDED */