X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=include%2Fwimlib%2Fntfs_3g.h;h=0ee9da26818428a5b187bddb690858fd913c4ed6;hb=6a84b7d59aa7cc0509ac870e5cbf122c5d755781;hp=b8ff37232bdfd1aec8f28d7788242fb56f136216;hpb=f7e62e27ceae4cf2ad2cc74b1a97ebf3015b95eb;p=wimlib diff --git a/include/wimlib/ntfs_3g.h b/include/wimlib/ntfs_3g.h index b8ff3723..0ee9da26 100644 --- a/include/wimlib/ntfs_3g.h +++ b/include/wimlib/ntfs_3g.h @@ -1,24 +1,31 @@ #ifndef _WIMLIB_NTFS_3G_H #define _WIMLIB_NTFS_3G_H -#include "wimlib/callback.h" +#ifdef WITH_NTFS_3G + #include "wimlib/types.h" -struct wim_lookup_table_entry; -struct _ntfs_volume; +struct blob_descriptor; +struct ntfs_location; +struct read_blob_callbacks; 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, - void *cb_ctx, - int _ignored_flags); +read_ntfs_attribute_prefix(const struct blob_descriptor *blob, u64 size, + const struct read_blob_callbacks *cbs); + +extern struct ntfs_location * +clone_ntfs_location(const struct ntfs_location *loc); +extern void +free_ntfs_location(struct ntfs_location *loc); extern int -do_ntfs_umount(struct _ntfs_volume *vol); +cmp_ntfs_locations(const struct ntfs_location *loc1, + const struct ntfs_location *loc2); + +#endif /* WITH_NTFS_3G */ -#endif +#endif /* _WIMLIB_NTFS_3G_H */