]> wimlib.net Git - wimlib/blobdiff - include/wimlib/object_id.h
Add support for capturing/applying object IDs
[wimlib] / include / wimlib / object_id.h
diff --git a/include/wimlib/object_id.h b/include/wimlib/object_id.h
new file mode 100644 (file)
index 0000000..21c1b4a
--- /dev/null
@@ -0,0 +1,15 @@
+#ifndef _WIMLIB_OBJECT_ID_H
+#define _WIMLIB_OBJECT_ID_H
+
+#include "wimlib/types.h"
+
+extern bool
+inode_has_object_id(const struct wim_inode *inode);
+
+extern const void *
+inode_get_object_id(const struct wim_inode *inode, u32 *len_ret);
+
+extern bool
+inode_set_object_id(struct wim_inode *inode, const void *object_id, u32 len);
+
+#endif /* _WIMLIB_OBJECT_ID_H  */