2 * Copyright (C) 1996-2000 Michael R. Elkins <me@mutt.org>
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.
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.
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.
22 typedef struct rfc1524_mailcap_entry {
23 /* char *contenttype; */ /* we don't need this, as we search for it */
27 char *composetypecommand;
32 /* char *description; */ /* we don't need this */
33 unsigned int needsterminal : 1; /* endwin() and system */
34 unsigned int copiousoutput : 1; /* needs pager, basically */
37 rfc1524_entry *rfc1524_new_entry (void);
38 void rfc1524_free_entry (rfc1524_entry **);
39 int rfc1524_expand_command (BODY *, char *, char *, char *, int);
40 int rfc1524_expand_filename (char *, char *, char *, size_t);
41 int rfc1524_mailcap_lookup (BODY *, char *, rfc1524_entry *, int);
42 int mutt_rename_file (char *, char *);
44 #endif /* _RFC1524_H */