|
ELinks 0.19.1
|
#include <string.h>#include "elinks.h"#include "cache/cache.h"#include "config/options.h"#include "encoding/encoding.h"#include "intl/libintl.h"#include "main/module.h"#include "mime/backend/common.h"#include "mime/mime.h"#include "protocol/header.h"#include "protocol/uri.h"#include "util/conv.h"#include "util/file.h"#include "util/memory.h"#include "util/string.h"#include "mime/backend/default.h"#include "mime/backend/dgi.h"#include "mime/backend/mailcap.h"#include "mime/backend/mimetypes.h"
Macros | |
| #define | _GNU_SOURCE /* XXX: we _WANT_ strcasestr() ! */ |
| #define | get_opt_mime(which) |
| #define | get_default_mime_type() |
| #define | debug_get_content_type_params(cached) |
| #define | debug_ctype(ctype__) |
| #define | debug_extension(extension__) |
Enumerations | |
| enum | mime_options { MIME_TREE , MIME_DEFAULT_TYPE , MIME_OPTIONS } |
Functions | |
| static char * | get_content_filename (struct uri *uri, struct cache_entry *cached) |
| static char * | check_extension_type (char *extension) |
| static char * | check_encoding_type (char *extension) |
| char * | get_extension_content_type (char *extension) |
| char * | get_cache_header_content_type (struct cache_entry *cached) |
| static char * | get_fragment_content_type (struct cache_entry *cached) |
| char * | get_content_type (struct cache_entry *cached) |
| struct mime_handler * | get_mime_type_handler (char *content_type, int xwin) |
| struct string * | add_mime_filename_to_string (struct string *string, struct uri *uri) |
Variables | |
| static union option_info | mime_options [] |
| static struct module * | mime_submodules [] |
| struct module | mime_module |
| #define _GNU_SOURCE /* XXX: we _WANT_ strcasestr() ! */ |
| #define debug_ctype | ( | ctype__ | ) |
| #define debug_extension | ( | extension__ | ) |
| #define debug_get_content_type_params | ( | cached | ) |
| #define get_default_mime_type | ( | ) |
| #define get_opt_mime | ( | which | ) |
| enum mime_options |
|
inlinestatic |
|
inlinestatic |
| char * get_cache_header_content_type | ( | struct cache_entry * | cached | ) |
|
static |
| char * get_content_type | ( | struct cache_entry * | cached | ) |
| char * get_extension_content_type | ( | char * | extension | ) |
|
static |
| struct mime_handler * get_mime_type_handler | ( | char * | content_type, |
| int | xwin ) |
| struct module mime_module |
|
static |