"Fossies" - the Fresh Open Source Software Archive

Member "netbiff-0.9.18/imap.h" (21 Sep 2003, 498 Bytes) of package /linux/privat/old/netbiff-0.9.18.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #ifndef IMAP_H
    2 #define IMAP_H
    3 
    4 #define IMAP_BUFSIZE 4096
    5 
    6 #include <openssl/bio.h>
    7 
    8 typedef struct _ImapContext ImapContext;
    9 struct _ImapContext {
   10   BIO *in;
   11   BIO *out;
   12   char buf[IMAP_BUFSIZE];
   13   int error;
   14   char errstr[IMAP_BUFSIZE];
   15   int recent;
   16 };
   17 
   18 ImapContext *imap_preauth(char * const cmd[]);
   19 ImapContext *imap_login(const char *host, const char *login, const char *pass);
   20 
   21 int imap_get_recent(ImapContext *c, const char *folder);
   22 
   23 void imap_destroy(ImapContext *c);
   24 
   25 #endif /* IMAP_H */