Whole document tree
    

Whole document tree

Magic MIME Detection

Magic MIME Detection

Name

Magic MIME Detection -- functions for parsing the magic mime database

Description

Details

enum GnomeMagicType

typedef enum {
	T_END, /* end of array */
	T_BYTE,
	T_SHORT,
	T_LONG,
	T_STR,
	T_DATE, 
	T_BESHORT,
	T_BELONG,
	T_BEDATE,
	T_LESHORT,
	T_LELONG,
	T_LEDATE
} GnomeMagicType;


gnome_vfs_mime_magic_parse ()

GnomeMagicEntry* gnome_vfs_mime_magic_parse (const gchar *filename,
                                             gint *nents);


gnome_vfs_mime_test_get_magic_table ()

GnomeMagicEntry* gnome_vfs_mime_test_get_magic_table
                                            (const char *table_path);


gnome_vfs_mime_dump_magic_table ()

void        gnome_vfs_mime_dump_magic_table (void);