r3247: Experimental extended attributes support for setting MIME types
[rox-filer.git] / ROX-Filer / src / xtypes.h
blob46cc4f443b2930bd9abad19ffe22ad44f7c279a5
1 /*
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
6 */
8 #ifndef _XTYPES_H
9 #define _XTYPES_H
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."
15 #else
16 #define ATTR_MAN_PAGE "You do not appear to have OS support."
17 #endif
19 /* Prototypes */
20 extern MIME_type *xtype_get(const char *path);
21 extern int xtype_set(const char *path, const MIME_type *type);
23 #endif