* New version 2.21.999
[alpine.git] / pith / mimedesc.h
blobdc993779da65a523b0b732f22c62c22eeebbd416
1 /*
2 * $Id: mimedesc.h 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $
4 * ========================================================================
5 * Copyright 2013-2018 Eduardo Chappa
6 * Copyright 2006-2008 University of Washington
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * ========================================================================
17 #ifndef PITH_MIMEDESC_INCLUDED
18 #define PITH_MIMEDESC_INCLUDED
21 #include "../pith/atttype.h"
22 #include "../pith/filttype.h"
25 /* exported prototypes */
26 void describe_mime(BODY *, char *, int, int, int, int);
27 void zero_atmts(ATTACH_S *);
28 char *body_type_names(int);
29 char *type_desc(int, char *, PARAMETER *, PARAMETER *, int);
30 long fcc_size_guess(BODY *);
31 char *part_desc(char *, BODY *, int, int, int, gf_io_t);
32 char *parameter_val(PARAMETER *, char *);
33 int mime_can_display(int, char *, BODY *);
34 char *get_filename_parameter(char *, size_t, BODY *, char **);
37 #endif /* PITH_MIMEDESC_INCLUDED */