]> wimlib.net Git - wimlib/blobdiff - include/wimlib/tagged_items.h
mount_image.c: add fallback definitions of RENAME_* constants
[wimlib] / include / wimlib / tagged_items.h
index 96265942723dc9dda042e153f869938ddd6e3273..815fa187925aaa00ea60715e21b36a976a250487 100644 (file)
@@ -8,18 +8,24 @@ struct wim_inode;
 /* Windows-style object ID */
 #define TAG_OBJECT_ID                  0x00000001
 
+/* Extended attributes */
+#define TAG_XATTRS                     0x00000002
+
 /* [wimlib extension] Standard UNIX metadata: uid, gid, mode, and rdev */
 #define TAG_WIMLIB_UNIX_DATA           0x337DD873
 
-/* [wimlib extension] Linux-style xattrs */
+/*
+ * [wimlib extension] Linux-style extended attributes
+ * (deprecated in favor of TAG_XATTRS)
+ */
 #define TAG_WIMLIB_LINUX_XATTRS                0x337DD874
 
-extern void *
+void *
 inode_get_tagged_item(const struct wim_inode *inode, u32 tag, u32 min_len,
                      u32 *actual_len_ret);
 
-extern bool
-inode_set_tagged_data(struct wim_inode *inode, u32 tag,
+bool
+inode_set_tagged_item(struct wim_inode *inode, u32 tag,
                      const void *data, u32 len);
 
 #endif /* _WIMLIB_TAGGED_ITEMS_H */