1 #ifndef GNOME_VFS_MIME_MAGIC_H
2 #define GNOME_VFS_MIME_MAGIC_H
4 #include <glib/gtypes.h>
8 /* Used internally by the magic code, exposes the parsing to users */
10 T_END, /* end of array */
24 typedef struct _GnomeMagicEntry {
26 guint16 range_start, range_end;
28 guint16 pattern_length;
36 GnomeMagicEntry *_gnome_vfs_mime_magic_parse (const gchar *filename,
40 GnomeMagicEntry *gnome_vfs_mime_test_get_magic_table (const char *table_path);
41 void gnome_vfs_mime_dump_magic_table (void);