]> wimlib.net Git - wimlib/blobdiff - include/wimlib/ntfs_3g.h
NTFS-3g capture: sort attributes by starting LCN
[wimlib] / include / wimlib / ntfs_3g.h
index fd93fa7b8ae7d2e595b0c5e9533910060668df81..3d92dffc8d8936532de1a3e81b28ca9d6219e419 100644 (file)
@@ -4,20 +4,27 @@
 #include "wimlib/callback.h"
 #include "wimlib/types.h"
 
-struct wim_lookup_table_entry;
+struct blob_descriptor;
 struct _ntfs_volume;
 
+#ifdef WITH_NTFS_3G
+struct _ntfs_volume;
+struct ntfs_location {
+       struct _ntfs_volume *ntfs_vol;
+       u64 mft_no;
+       utf16lechar *attr_name;
+       unsigned attr_name_nchars;
+       unsigned attr_type;
+       u64 sort_key;
+};
+#endif
+
 extern void
 libntfs3g_global_init(void);
 
 extern int
-read_ntfs_file_prefix(const struct wim_lookup_table_entry *lte,
-                     u64 size,
-                     consume_data_callback_t cb,
-                     u32 in_chunk_size,
-                     void *ctx_or_buf,
-                     int _ignored_flags);
-
+read_ntfs_attribute_prefix(const struct blob_descriptor *blob, u64 size,
+                          consume_data_callback_t cb, void *cb_ctx);
 
 extern int
 do_ntfs_umount(struct _ntfs_volume *vol);