+enum llapi_layout_get_flags {
+ /** Replace non-specified values with expected inherited values. */
+ LLAPI_LAYOUT_GET_EXPECTED = 0x0001,
+ /** Use a temporary buffer to swab and return xattrs. */
+ LLAPI_LAYOUT_GET_COPY = 0x0002,
+ /** Verify xattr contains sane layout values. */
+ LLAPI_LAYOUT_GET_CHECK = 0x0004,
+};
+/* compatibility macros for old interfaces */
+#define LAYOUT_GET_EXPECTED LLAPI_LAYOUT_GET_EXPECTED
+#define LLAPI_LXF_COPY LLAPI_LAYOUT_GET_COPY
+#define LLAPI_LXF_CHECK LLAPI_LAYOUT_GET_CHECK