2 * Copyright notice from original mutt:
3 * Copyright (C) 1996-8 Michael R. Elkins <me@mutt.org>
4 * Copyright (C) 2000-3 Brendan Cully <brendan@kublai.com>
6 * This file is part of mutt-ng, see http://www.muttng.org/.
7 * It's licensed under the GNU General Public License,
8 * please see the file GPL in the top level source directory.
18 /* -- data structures -- */
25 int imap_access (const char *, int);
26 int imap_check_mailbox (CONTEXT * ctx, int *index_hint, int force);
27 int imap_delete_mailbox (CONTEXT * idata, IMAP_MBOX mx);
28 int imap_open_mailbox (CONTEXT * ctx);
29 int imap_open_mailbox_append (CONTEXT * ctx);
30 int imap_sync_mailbox (CONTEXT * ctx, int expunge, int *index_hint);
31 void imap_close_mailbox (CONTEXT * ctx);
32 int imap_buffy_check (char *path);
33 int imap_mailbox_check (char *path, int new);
34 int imap_subscribe (char *path, int subscribe);
35 int imap_complete (char *dest, size_t dlen, char *path);
37 void imap_allow_reopen (CONTEXT * ctx);
38 void imap_disallow_reopen (CONTEXT * ctx);
41 int imap_browse (char *path, struct browser_state *state);
42 int imap_mailbox_create (const char *folder);
43 int imap_mailbox_rename (const char *mailbox);
46 int imap_append_message (CONTEXT * ctx, MESSAGE * msg);
47 int imap_copy_messages (CONTEXT * ctx, HEADER * h, char *dest, int delete);
48 int imap_fetch_message (MESSAGE * msg, CONTEXT * ctx, int msgno);
51 void imap_logout_all (void);
54 int imap_expand_path (char *path, size_t len);
55 int imap_parse_path (const char *path, IMAP_MBOX * mx);
56 void imap_pretty_mailbox (char *path);
58 int imap_wait_keepalive (pid_t pid);
59 void imap_keepalive (void);