]> wimlib.net Git - wimlib/blobdiff - include/wimlib/ntfs_3g.h
mount_image.c: add fallback definitions of RENAME_* constants
[wimlib] / include / wimlib / ntfs_3g.h
index 6648e5a1cecb081e66b136df30e73e6f0351b8af..03fc04b6b15748927beae0ed13b2ce0f9c73e24c 100644 (file)
@@ -1,31 +1,29 @@
 #ifndef _WIMLIB_NTFS_3G_H
 #define _WIMLIB_NTFS_3G_H
 
-#include "wimlib/callback.h"
+#ifdef WITH_NTFS_3G
+
 #include "wimlib/types.h"
 
 struct blob_descriptor;
-struct _ntfs_volume;
+struct consume_chunk_callback;
+struct ntfs_location;
 
-#ifdef WITH_NTFS_3G
-struct _ntfs_volume;
-struct ntfs_location {
-       struct _ntfs_volume *ntfs_vol;
-       char *path;
-       utf16lechar *attr_name;
-       unsigned attr_name_nchars;
-       unsigned attr_type;
-};
-#endif
-
-extern void
-libntfs3g_global_init(void);
-
-extern int
+int
 read_ntfs_attribute_prefix(const struct blob_descriptor *blob, u64 size,
-                          consume_data_callback_t cb, void *cb_ctx);
+                          const struct consume_chunk_callback *cb,
+                          bool recover_data);
+
+struct ntfs_location *
+clone_ntfs_location(const struct ntfs_location *loc);
+
+void
+free_ntfs_location(struct ntfs_location *loc);
+
+int
+cmp_ntfs_locations(const struct ntfs_location *loc1,
+                  const struct ntfs_location *loc2);
 
-extern int
-do_ntfs_umount(struct _ntfs_volume *vol);
+#endif /* WITH_NTFS_3G */
 
-#endif
+#endif /* _WIMLIB_NTFS_3G_H */