ELinks 0.18.0
common.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "elinks.h"
#include "main/module.h"
#include "mime/backend/common.h"
#include "mime/mime.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"
Include dependency graph for common.c:

Functions

char * get_content_type_backends (char *extension)
 
struct mime_handlerget_mime_handler_backends (char *ctype, int have_x)
 
char * get_next_path_filename (char **path_ptr, unsigned char separator)
 
struct mime_handlerinit_mime_handler (char *program, char *description, const char *backend_name, int ask, int block)
 

Variables

static const struct mime_backend *const mime_backends []
 

Function Documentation

◆ get_content_type_backends()

char * get_content_type_backends ( char * extension)

◆ get_mime_handler_backends()

struct mime_handler * get_mime_handler_backends ( char * ctype,
int have_x )

◆ get_next_path_filename()

char * get_next_path_filename ( char ** path_ptr,
unsigned char separator )

◆ init_mime_handler()

struct mime_handler * init_mime_handler ( char * program,
char * description,
const char * backend_name,
int ask,
int block )

Variable Documentation

◆ mime_backends

const struct mime_backend* const mime_backends[]
static
Initial value:
= {
}
#define NULL
Definition explodename.c:35
const struct mime_backend default_mime_backend
Definition default.c:215