r4098: Failure to create a usable default icon theme can be due to a broken link, so
[rox-filer/dt.git] / ROX-Filer / src / xtypes.h
blob0e4936a1849d2409cd9fc4539e647347f0b9072f
1 /*
2 * ROX-Filer, filer for the ROX desktop project
3 * By Thomas Leonard, <tal197@users.sourceforge.net>.
5 * Extended filesystem attribute support, particularly for MIME types
6 */
8 #ifndef _XTYPES_H
9 #define _XTYPES_H
11 /* Prototypes */
12 void xattr_init(void);
14 /* path may be NULL to test for support in libc */
15 int xattr_supported(const char *path);
17 int xattr_have(const char *path);
18 gchar *xattr_get(const char *path, const char *attr, int *len);
19 int xattr_set(const char *path, const char *attr,
20 const char *value, int value_len);
22 MIME_type *xtype_get(const char *path);
23 int xtype_set(const char *path, const MIME_type *type);
25 #endif