Dillo v3.1.1-119-g140d9ebd
|
Go to the source code of this file.
Typedefs | |
typedef void *(* | Viewer_t) (const char *, void *, CA_Callback_t *, void **) |
Functions | |
void * | a_Html_text (const char *Type, void *web, CA_Callback_t *Call, void **Data) |
Function prototypes defined elsewhere. | |
void * | a_Plain_text (const char *Type, void *web, CA_Callback_t *Call, void **Data) |
Set callback function and callback data for "text/" MIME major-type. | |
void * | a_Dicache_png_image (const char *Type, void *web, CA_Callback_t *Call, void **Data) |
PNG wrapper for Dicache_image() | |
void * | a_Dicache_webp_image (const char *Type, void *web, CA_Callback_t *Call, void **Data) |
WEBP wrapper for Dicache_image() | |
void * | a_Dicache_gif_image (const char *Type, void *Ptr, CA_Callback_t *Call, void **Data) |
GIF wrapper for Dicache_image() | |
void * | a_Dicache_jpeg_image (const char *Type, void *Ptr, CA_Callback_t *Call, void **Data) |
JPEG wrapper for Dicache_image() | |
void * | a_Dicache_svg_image (const char *Type, void *Ptr, CA_Callback_t *Call, void **Data) |
SVG wrapper for Dicache_image() | |
void | a_Mime_init (void) |
Functions defined inside Mime module. | |
Viewer_t | a_Mime_get_viewer (const char *content_type) |
Get the handler for the MIME type. | |
typedef void *(* Viewer_t) (const char *, void *, CA_Callback_t *, void **) |
void * a_Dicache_gif_image | ( | const char * | Type, |
void * | Ptr, | ||
CA_Callback_t * | Call, | ||
void ** | Data | ||
) |
GIF wrapper for Dicache_image()
Definition at line 465 of file dicache.c.
References DIC_Gif, and Dicache_image().
Referenced by a_Mime_init().
void * a_Dicache_jpeg_image | ( | const char * | Type, |
void * | Ptr, | ||
CA_Callback_t * | Call, | ||
void ** | Data | ||
) |
JPEG wrapper for Dicache_image()
Definition at line 474 of file dicache.c.
References DIC_Jpeg, and Dicache_image().
Referenced by a_Mime_init().
void * a_Dicache_png_image | ( | const char * | Type, |
void * | web, | ||
CA_Callback_t * | Call, | ||
void ** | Data | ||
) |
PNG wrapper for Dicache_image()
Definition at line 447 of file dicache.c.
References DIC_Png, and Dicache_image().
Referenced by a_Mime_init().
void * a_Dicache_svg_image | ( | const char * | Type, |
void * | Ptr, | ||
CA_Callback_t * | Call, | ||
void ** | Data | ||
) |
SVG wrapper for Dicache_image()
Definition at line 483 of file dicache.c.
References DIC_Svg, and Dicache_image().
Referenced by a_Mime_init().
void * a_Dicache_webp_image | ( | const char * | Type, |
void * | web, | ||
CA_Callback_t * | Call, | ||
void ** | Data | ||
) |
WEBP wrapper for Dicache_image()
Definition at line 456 of file dicache.c.
References DIC_Webp, and Dicache_image().
Referenced by a_Mime_init().
void * a_Html_text | ( | const char * | Type, |
void * | P, | ||
CA_Callback_t * | Call, | ||
void ** | Data | ||
) |
Function prototypes defined elsewhere.
Function prototypes defined elsewhere.
Definition at line 211 of file html.cc.
References _DilloWeb::bw, DilloHtml::dw, Html_callback(), and _DilloWeb::url.
Referenced by a_Mime_init().
Viewer_t a_Mime_get_viewer | ( | const char * | content_type | ) |
Get the handler for the MIME type.
Return Value: On success: viewer On failure: NULL
Definition at line 133 of file mime.c.
References Mime_major_type_fetch(), and Mime_minor_type_fetch().
Referenced by a_Web_dispatch_by_type().
void a_Mime_init | ( | void | ) |
Functions defined inside Mime module.
Functions defined inside Mime module.
Definition at line 97 of file mime.c.
References a_Dicache_gif_image(), a_Dicache_jpeg_image(), a_Dicache_png_image(), a_Dicache_svg_image(), a_Dicache_webp_image(), a_Html_text(), a_Plain_text(), Mime_add_major_type(), and Mime_add_minor_type().
Referenced by main().
void * a_Plain_text | ( | const char * | Type, |
void * | web, | ||
CA_Callback_t * | Call, | ||
void ** | Data | ||
) |
Set callback function and callback data for "text/" MIME major-type.
Definition at line 205 of file plain.cc.
References _DilloWeb::bw, and Plain_callback().
Referenced by a_Mime_init().