well this makes things fail for people ...
[apps/madmutt.git] / lib-ui / 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 struct folder_file {
14   mode_t mode;
15   off_t size;
16   time_t mtime;
17   struct stat *st;
18
19   char *name;
20   char *desc;
21
22   unsigned short new;
23   char delim;
24
25   unsigned imap:1;
26   unsigned selectable:1;
27   unsigned inferiors:1;
28   unsigned tagged:1;
29 };
30
31 struct browser_state {
32   struct folder_file *entry;
33   int entrylen;        /* number of real entries */
34   int entrymax;        /* max entry */
35   short imap_browse;
36   char *folder;
37   unsigned noselect:1;
38   unsigned marked:1;
39   unsigned unmarked:1;
40 };
41
42 /* flags to mutt_select_file() */
43 #define M_SEL_BUFFY     (1<<0)
44 #define M_SEL_MULTI     (1<<1)
45 #define M_SEL_FOLDER    (1<<2)
46 void mutt_select_file (char *, ssize_t, int, char ***, int *);
47
48 #endif /* _BROWSER_H */