NTFS-3g capture: sort attributes by starting LCN
[wimlib] / include / wimlib / ntfs_3g.h
1 #ifndef _WIMLIB_NTFS_3G_H
2 #define _WIMLIB_NTFS_3G_H
3
4 #include "wimlib/callback.h"
5 #include "wimlib/types.h"
6
7 struct blob_descriptor;
8 struct _ntfs_volume;
9
10 #ifdef WITH_NTFS_3G
11 struct _ntfs_volume;
12 struct ntfs_location {
13         struct _ntfs_volume *ntfs_vol;
14         u64 mft_no;
15         utf16lechar *attr_name;
16         unsigned attr_name_nchars;
17         unsigned attr_type;
18         u64 sort_key;
19 };
20 #endif
21
22 extern void
23 libntfs3g_global_init(void);
24
25 extern int
26 read_ntfs_attribute_prefix(const struct blob_descriptor *blob, u64 size,
27                            consume_data_callback_t cb, void *cb_ctx);
28
29 extern int
30 do_ntfs_umount(struct _ntfs_volume *vol);
31
32 #endif