Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (18 sloc) 0.498 kB
#ifndef IMAP_H
#define IMAP_H
#define IMAP_BUFSIZE 4096
#include <openssl/bio.h>
typedef struct _ImapContext ImapContext;
struct _ImapContext {
BIO *in;
BIO *out;
char buf[IMAP_BUFSIZE];
int error;
char errstr[IMAP_BUFSIZE];
int recent;
};
ImapContext *imap_preauth(char * const cmd[]);
ImapContext *imap_login(const char *host, const char *login, const char *pass);
int imap_get_recent(ImapContext *c, const char *folder);
void imap_destroy(ImapContext *c);
#endif /* IMAP_H */
Jump to Line
Something went wrong with that request. Please try again.