r38: Rescanning a directory only shrinks the item width at the end rather than the
[rox-filer.git] / ROX-Filer / src / type.h
blob93da1a2e4d38985c8bd610222c3fb090af45c779
1 /* vi: set cindent:
2 * $Id$
4 * ROX-Filer, filer for the ROX desktop project
5 * By Thomas Leonard, <tal197@ecs.soton.ac.uk>.
6 */
8 #ifndef _TYPE_H
9 #define _TYPE_H
11 typedef struct _MIME_type MIME_type;
13 struct _MIME_type
15 char *name;
18 /* Prototypes */
19 void type_init();
20 char *basetype_name(FileItem *item);
22 MIME_type *type_from_path(char *path);
23 gboolean type_open(char *path, MIME_type *type);
25 #endif /* _TYPE_H */