RFC3676 Format Flowed routines. More...
#include <stdbool.h>
Go to the source code of this file.
Functions | |
int | rfc3676_handler (struct Body *b_email, struct State *state) |
Handler for format=flowed - Implements handler_t -. | |
bool | mutt_rfc3676_is_format_flowed (struct Body *b) |
Is the Email "format-flowed"? | |
void | mutt_rfc3676_space_stuff (struct Email *e) |
Perform RFC3676 space stuffing on an Email. | |
void | mutt_rfc3676_space_unstuff (struct Email *e) |
Remove RFC3676 space stuffing. | |
void | mutt_rfc3676_space_unstuff_attachment (struct Body *b, const char *filename) |
Unstuff attachments. | |
void | mutt_rfc3676_space_stuff_attachment (struct Body *b, const char *filename) |
Stuff attachments. | |
RFC3676 Format Flowed routines.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file rfc3676.h.
bool mutt_rfc3676_is_format_flowed | ( | struct Body * | b | ) |
Is the Email "format-flowed"?
true | Email is "format-flowed" |
Definition at line 394 of file rfc3676.c.
void mutt_rfc3676_space_stuff | ( | struct Email * | e | ) |
Perform RFC3676 space stuffing on an Email.
e |
$text_flowed
because we want to stuff based the actual content type. The option only decides whether to set format=flowed on new messages. Definition at line 486 of file rfc3676.c.
void mutt_rfc3676_space_unstuff | ( | struct Email * | e | ) |
void mutt_rfc3676_space_unstuff_attachment | ( | struct Body * | b, |
const char * | filename | ||
) |
Unstuff attachments.
This routine is used when saving/piping/viewing rfc3676 attachments.
If b is provided, the function will verify that the Email is format-flowed. The filename will be unstuffed, not b->filename or b->fp.
Definition at line 518 of file rfc3676.c.
void mutt_rfc3676_space_stuff_attachment | ( | struct Body * | b, |
const char * | filename | ||
) |
Stuff attachments.
This routine is used when filtering rfc3676 attachments.
If b is provided, the function will verify that the Email is format-flowed. The filename will be unstuffed, not b->filename or b->fp.
Definition at line 539 of file rfc3676.c.