2
* $Id: imap.h 380 2007-01-23 00:09:18Z hubert@u.washington.edu $
4
* ========================================================================
5
* Copyright 2006-2007 University of Washington
7
* Licensed under the Apache License, Version 2.0 (the "License");
8
* you may not use this file except in compliance with the License.
9
* You may obtain a copy of the License at
11
* http://www.apache.org/licenses/LICENSE-2.0
13
* ========================================================================
16
#ifndef PINE_IMAP_INCLUDED
17
#define PINE_IMAP_INCLUDED
20
#include "../pith/imap.h"
23
/* exported protoypes */
24
void *pine_block_notify(int, void *);
25
long pine_tcptimeout(long, long);
26
long pine_sslcertquery(char *, char *, char *);
27
char *pine_newsrcquery(MAILSTREAM *, char *, char *);
28
int url_local_certdetails(char *);
29
void pine_sslfailure(char *, char *, unsigned long);
31
int get_passfile_passwd(char *, char *, char *, STRLIST_S *, int);
32
int is_using_passfile();
33
void set_passfile_passwd(char *, char *, char *, STRLIST_S *, int, int);
34
char *get_passfile_user(char *, STRLIST_S *);
35
void update_passfile_hostlist(char *, char *, STRLIST_S *, int);
37
void erase_windows_credentials(void);
39
void macos_erase_keychain(void);
44
#endif /* PINE_IMAP_INCLUDED */