ELinks 0.18.0
|
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "elinks.h"
#include "config/options.h"
#include "intl/libintl.h"
#include "main/module.h"
#include "mime/backend/common.h"
#include "mime/backend/dgi.h"
#include "mime/mime.h"
#include "osdep/osdep.h"
#include "session/session.h"
#include "util/file.h"
#include "util/hash.h"
#include "util/lists.h"
#include "util/memory.h"
#include "util/string.h"
Data Structures | |
struct | dgi_hash_item |
struct | dgi_entry |
Macros | |
#define | get_opt_dgi(which) dgi_options[(which)].option |
#define | get_dgi(which) get_opt_dgi(which).value |
#define | get_dgi_ask() get_dgi(DGI_ASK).number |
#define | get_dgi_enable() get_dgi(DGI_ENABLE).number |
Enumerations | |
enum | dgi_option { DGI_TREE , DGI_ENABLE , DGI_MIME_CFG , DGI_ASK } |
Functions | |
static void | done_dgi_entry (struct dgi_entry *entry) |
static struct dgi_entry * | init_dgi_entry (char *type, char *inpext, char *outext, char *command) |
static void | add_dgi_entry (struct dgi_entry *entry, char *type, int typelen) |
static void | parse_dgi_file (char *filename) |
static struct hash * | init_dgi_map (void) |
static void | done_dgi (struct module *module) |
static int | change_hook_dgi (struct session *ses, struct option *current, struct option *changed) |
static void | init_dgi (struct module *module) |
static struct dgi_entry * | check_entries (struct dgi_hash_item *item) |
static struct dgi_entry * | get_dgi_entry (char *type) |
struct mime_handler * | get_mime_handler_dgi (char *type, int xwin) |
Variables | |
static struct hash * | dgi_map = NULL |
static union option_info | dgi_options [] |
const struct mime_backend | dgi_mime_backend |
struct module | dgi_mime_module |
#define get_dgi | ( | which | ) | get_opt_dgi(which).value |
#define get_dgi_enable | ( | ) | get_dgi(DGI_ENABLE).number |
#define get_opt_dgi | ( | which | ) | dgi_options[(which)].option |
enum dgi_option |
|
inlinestatic |
|
static |
|
static |
|
static |
|
inlinestatic |
|
static |
struct mime_handler * get_mime_handler_dgi | ( | char * | type, |
int | xwin ) |
|
static |
|
inlinestatic |
|
static |
|
static |
const struct mime_backend dgi_mime_backend |
struct module dgi_mime_module |
|
static |