we don't want this warning, as it is default now, and that some people may
[apps/madmutt.git] / browser.h
1 /*
2  * Copyright notice from original mutt:
3  * Copyright (C) 1996-2000 Michael R. Elkins <me@mutt.org>
4  *
5  * This file is part of mutt-ng, see http://www.muttng.org/.
6  * It's licensed under the GNU General Public License,
7  * please see the file GPL in the top level source directory.
8  */
9
10 #ifndef _BROWSER_H
11 #define _BROWSER_H 1
12
13 #ifdef USE_NNTP
14 #include "nntp/nntp.h"
15 #endif
16
17 struct folder_file {
18   mode_t mode;
19   off_t size;
20   time_t mtime;
21   struct stat *st;
22
23   char *name;
24   char *desc;
25
26   unsigned short new;
27   char delim;
28
29   unsigned imap:1;
30   unsigned selectable:1;
31   unsigned inferiors:1;
32 #ifdef USE_NNTP
33   NNTP_DATA *nd;
34 #endif
35   unsigned tagged:1;
36 };
37
38 struct browser_state {
39   struct folder_file *entry;
40   int entrylen;        /* number of real entries */
41   int entrymax;        /* max entry */
42   short imap_browse;
43   char *folder;
44   unsigned noselect:1;
45   unsigned marked:1;
46   unsigned unmarked:1;
47 };
48
49 #endif /* _BROWSER_H */