Manipulate multipart Emails. More...
#include "config.h"#include <stdbool.h>#include <stddef.h>#include "mutt/lib.h"#include "email/lib.h"#include "multipart.h"#include "sendlib.h"
Include dependency graph for multipart.c:Go to the source code of this file.
Functions | |
| static int | get_toplevel_encoding (struct Body *b) |
| Find the most restrictive encoding type. | |
| static bool | check_boundary (const char *boundary, struct Body *b) |
| Check for duplicate boundary. | |
| void | mutt_generate_boundary (struct ParameterList *pl) |
| Create a unique boundary id for a MIME part. | |
| struct Body * | mutt_make_multipart (struct Body *b) |
| Create a multipart email. | |
| struct Body * | mutt_remove_multipart (struct Body *b) |
| Extract the multipart body if it exists. | |
Manipulate multipart Emails.
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 multipart.c.
|
static |
Find the most restrictive encoding type.
| b | Body to examine |
| num | Encoding type, e.g. ENC_7BIT |
Definition at line 43 of file multipart.c.
Here is the caller graph for this function:
|
static |
Check for duplicate boundary.
| boundary | Boundary to look for |
| b | Body parts to check |
| true | Duplicate found |
Definition at line 64 of file multipart.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void mutt_generate_boundary | ( | struct ParameterList * | pl | ) |
Create a unique boundary id for a MIME part.
| pl | MIME part |
Definition at line 86 of file multipart.c.
Here is the call graph for this function:
Here is the caller graph for this function:Create a multipart email.
| b | Body of email to start |
| ptr | Newly allocated Body |
Definition at line 100 of file multipart.c.
Here is the call graph for this function:
Here is the caller graph for this function:Extract the multipart body if it exists.
| b | Body to alter |
| ptr | The parts of the Body |
Definition at line 126 of file multipart.c.
Here is the call graph for this function:
Here is the caller graph for this function: