patch-2.1.74 linux/fs/ntfs/support.h
Next file: linux/fs/ntfs/sysctl.c
Previous file: linux/fs/ntfs/support.c
Back to the patch index
Back to the overall index
- Lines: 33
- Date:
Fri Dec 19 15:24:21 1997
- Orig file:
v2.1.73/linux/fs/ntfs/support.h
- Orig date:
Wed Dec 31 16:00:00 1969
diff -u --recursive --new-file v2.1.73/linux/fs/ntfs/support.h linux/fs/ntfs/support.h
@@ -0,0 +1,32 @@
+/*
+ * support.h
+ * Header file for specific support.c
+ *
+ * Copyright (C) 1997 Régis Duchesne
+ */
+
+/* Debug levels */
+#define DEBUG_OTHER 1
+#define DEBUG_MALLOC 2
+
+void ntfs_debug(int mask, const char *fmt, ...);
+void *ntfs_malloc(int size);
+void ntfs_free(void *block);
+void ntfs_bzero(void *s, int n);
+void *ntfs_memcpy(void *dest, const void *src, ntfs_size_t n);
+void *ntfs_memmove(void *dest, const void *src, ntfs_size_t n);
+void ntfs_error(const char *fmt,...);
+int ntfs_read_mft_record(ntfs_volume *vol, int mftno, char *buf);
+int ntfs_getput_clusters(ntfs_volume *pvol, int cluster, ntfs_size_t offs,
+ ntfs_io *buf);
+ntfs_time64_t ntfs_now(void);
+int ntfs_dupuni2map(ntfs_volume *vol, ntfs_u16 *in, int in_len, char **out,
+ int *out_len);
+int ntfs_dupmap2uni(ntfs_volume *vol, char* in, int in_len, ntfs_u16 **out,
+ int *out_len);
+
+/*
+ * Local variables:
+ * c-file-style: "linux"
+ * End:
+ */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov