mutt stable branch with some hacks
at jcs 63 lines 1.7 kB view raw
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 22struct folder_file 23{ 24 mode_t mode; 25 off_t size; 26 time_t mtime; 27 uid_t uid; 28 gid_t gid; 29 nlink_t nlink; 30 31 char *display_name; 32 char *full_path; 33 34 short new; /* true if mailbox has "new mail" */ 35 int msg_count; /* total number of messages */ 36 int msg_unread; /* number of unread messages */ 37 38#ifdef USE_IMAP 39 char delim; 40 41 unsigned imap : 1; 42 unsigned selectable : 1; 43 unsigned inferiors : 1; 44#endif 45 unsigned has_buffy : 1; 46 unsigned local : 1; /* folder is on local filesystem */ 47 unsigned tagged : 1; 48}; 49 50struct browser_state 51{ 52 struct folder_file *entry; 53 unsigned int entrylen; /* number of real entries */ 54 unsigned int entrymax; /* max entry */ 55#ifdef USE_IMAP 56 short imap_browse; 57 char *folder; 58 unsigned noselect : 1; 59 unsigned marked : 1; 60 unsigned unmarked : 1; 61#endif 62}; 63#endif /* _BROWSER_H */