iPXE
mime_type Struct Reference

A MIME type. More...

#include <mime.h>

Data Fields

const char * name
 Name.
int(* extract )(struct image *image, const struct mime_headers *headers, struct image *extracted)
 Extract image.

Detailed Description

A MIME type.

Definition at line 69 of file mime.h.

Field Documentation

◆ name

const char* mime_type::name

Name.

Definition at line 71 of file mime.h.

◆ extract

int(* mime_type::extract) (struct image *image, const struct mime_headers *headers, struct image *extracted)

Extract image.

Parameters
mimeMIME image
headersMIME headers
extractedExtracted image
Return values
rcReturn status code

Definition at line 80 of file mime.h.


The documentation for this struct was generated from the following file: