Dillo v3.1.1-98-g318d1f14
|
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_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 427 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 436 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 418 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 445 of file dicache.c.
References DIC_Svg, 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 130 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_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().