X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=include%2Fwimlib%2Fntfs_3g.h;h=2641801f31811bc04536fd102cb4031b39d4f1a1;hp=425d9dfdf567b35f4ffdfd86a6e1f31418fcabe8;hb=96c0ef4c9c596b48c4388f5c7a1979531b64cc6d;hpb=e8c3ca2d1d0cac3d64985b45a9f654d2029a7518 diff --git a/include/wimlib/ntfs_3g.h b/include/wimlib/ntfs_3g.h index 425d9dfd..2641801f 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 +#ifdef WITH_NTFS_3G + #include "wimlib/callback.h" #include "wimlib/types.h" -struct wim_lookup_table_entry; -struct _ntfs_volume; +struct blob_descriptor; +struct ntfs_location; 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 *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 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 */