NetSurf
Functions | Variables
fetch.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void gtk_fetch_filetype_init (const char *mimefile)
 
void gtk_fetch_filetype_fin (void)
 
const char * fetch_filetype (const char *unix_path)
 filetype – determine the MIME type of a local file More...
 

Variables

struct gui_fetch_tablensgtk_fetch_table
 

Function Documentation

◆ fetch_filetype()

const char * fetch_filetype ( const char *  unix_path)

filetype – determine the MIME type of a local file

Definition at line 58 of file filetype.c.

◆ gtk_fetch_filetype_fin()

void gtk_fetch_filetype_fin ( void  )

Definition at line 179 of file fetch.c.

References hash_destroy(), and mime_hash.

Referenced by nsgtk_finalise().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gtk_fetch_filetype_init()

void gtk_fetch_filetype_init ( const char *  mimefile)

Definition at line 60 of file fetch.c.

References ascii_is_space(), hash_add(), hash_create(), HASH_SIZE, line(), MAX_LINE_LEN, mime_hash, NSLOG, and type.

Referenced by nsgtk_setup().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ nsgtk_fetch_table

struct gui_fetch_table* nsgtk_fetch_table
extern

Definition at line 273 of file fetch.c.

Referenced by main().