1 /** 2 * @file 3 * RFC3676 Format Flowed routines 4 * 5 * @authors 6 * Copyright (C) 2005 Andreas Krennmair <ak@synflood.at> 7 * Copyright (C) 2005 Peter J. Holzer <hjp@hjp.net> 8 * Copyright (C) 2005,2007 Rocco Rutte <pdmef@gmx.net> 9 * 10 * @copyright 11 * This program is free software: you can redistribute it and/or modify it under 12 * the terms of the GNU General Public License as published by the Free Software 13 * Foundation, either version 2 of the License, or (at your option) any later 14 * version. 15 * 16 * This program is distributed in the hope that it will be useful, but WITHOUT 17 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 18 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more 19 * details. 20 * 21 * You should have received a copy of the GNU General Public License along with 22 * this program. If not, see <http://www.gnu.org/licenses/>. 23 */ 24 25 #ifndef MUTT_RFC3676_H 26 #define MUTT_RFC3676_H 27 28 #include <stdbool.h> 29 30 struct Body; 31 struct Email; 32 struct State; 33 34 int rfc3676_handler(struct Body *a, struct State *s); 35 bool mutt_rfc3676_is_format_flowed(struct Body *b); 36 void mutt_rfc3676_space_stuff (struct Email *e); 37 void mutt_rfc3676_space_unstuff (struct Email *e); 38 void mutt_rfc3676_space_unstuff_attachment(struct Body *b, const char *filename); 39 void mutt_rfc3676_space_stuff_attachment(struct Body *b, const char *filename); 40 41 #endif /* MUTT_RFC3676_H */ 42