2 * ROX-Filer, filer for the ROX desktop project
3 * By Thomas Leonard, <tal197@users.sourceforge.net>.
5 * Extended filesystem attribute support for MIME types
11 #if defined(HAVE_GETXATTR)
12 #define ATTR_MAN_PAGE "See the attr(5) man page for full details."
13 #elif defined(HAVE_ATTROPEN)
14 #define ATTR_MAN_PAGE "See the fsattr(5) man page for full details."
16 #define ATTR_MAN_PAGE "You do not appear to have OS support."
20 MIME_type
*xtype_get(const char *path
);
21 int xtype_set(const char *path
, const MIME_type
*type
);
22 void xtype_init(void);
24 int xtype_have_attr(const char *path
);
26 /* path may be NULL to test for support in libc */
27 int xtype_supported(const char *path
);