Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 64 lines (56 sloc) 1.555 kb
14c2920 Imported Upstream version 1.5.18
Antonio Radici authored
1 /*
2 * Copyright (C) 1996-2000 Michael R. Elkins <me@mutt.org>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 */
18
19 #ifndef _BROWSER_H
20 #define _BROWSER_H 1
21
22 struct folder_file
23 {
24 mode_t mode;
25 off_t size;
26 time_t mtime;
27 struct stat *st;
28
29 char *name;
30 char *desc;
31
32 unsigned short new;
33 #ifdef USE_IMAP
34 char delim;
35
36 unsigned imap : 1;
37 unsigned selectable : 1;
38 unsigned inferiors : 1;
39 #endif
40 unsigned tagged : 1;
41 };
42
43 struct browser_state
44 {
45 struct folder_file *entry;
46 unsigned int entrylen; /* number of real entries */
47 unsigned int entrymax; /* max entry */
48 #ifdef USE_IMAP
49 short imap_browse;
50 char *folder;
51 unsigned noselect : 1;
52 unsigned marked : 1;
53 unsigned unmarked : 1;
54 #endif
55 };
56
57 struct mailbox_state
58 {
59 unsigned int new;
60 unsigned int old;
61 unsigned int messages;
62 };
63 #endif /* _BROWSER_H */
Something went wrong with that request. Please try again.