2 fuse_xattrs - Add xattrs support using sidecar files
4 Copyright (C) 2016 Felipe Barriga Richards <felipe {at} felipebarriga.cl>
6 This program can be distributed under the terms of the GNU GPL.
10 #ifndef FUSE_XATTRS_CONST_H
11 #define FUSE_XATTRS_CONST_H
13 #define SIDECAR_EXT ".xattr"
14 // TODO: This is just arbitrary...
15 #define MAX_METADATA_SIZE 8 * 1024 * 1024 // 8 MiB
17 #define XATTR_NAME_MAX 255 /* # chars in an extended attribute name */
18 #define XATTR_SIZE_MAX 65536 /* size of an extended attribute value (64k) */
19 #define XATTR_LIST_MAX 65536 /* size of extended attribute namelist (64k) */
21 #endif //FUSE_XATTRS_CONST_H