patch-2.4.7 linux/fs/ntfs/attr.h

Next file: linux/fs/ntfs/dir.c
Previous file: linux/fs/ntfs/attr.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.6/linux/fs/ntfs/attr.h linux/fs/ntfs/attr.h
@@ -1,19 +1,25 @@
-/*  attr.h -  Header file for attr.c
+/*
+ * attr.h -  Header file for attr.c
  *
- *  Copyright (C) 1997 Régis Duchesne
+ * Copyright (C) 1997 Régis Duchesne
+ * Copyright (c) 2001 Anton Altaparmakov (AIA)
  */
+#include <linux/nls.h>
 
-int ntfs_extend_attr(ntfs_inode *ino, ntfs_attribute *attr, int *len,
+ntfs_u8* ntfs_find_attr_in_mft_rec(ntfs_volume *vol, ntfs_u8 *m, __u32 type,
+			wchar_t *name, __u32 name_len, int ic, __u16 instance);
+
+int ntfs_extend_attr(ntfs_inode *ino, ntfs_attribute *attr, __s64 *len,
 		     int flags);
 
-int ntfs_resize_attr(ntfs_inode *ino, ntfs_attribute *attr, int newsize);
+int ntfs_resize_attr(ntfs_inode *ino, ntfs_attribute *attr, __s64 newsize);
 
 int ntfs_insert_attribute(ntfs_inode *ino, unsigned char* attrdata);
 
-int ntfs_read_compressed(ntfs_inode *ino, ntfs_attribute *attr, int offset,
+int ntfs_read_compressed(ntfs_inode *ino, ntfs_attribute *attr, __s64 offset,
 			 ntfs_io *dest);
 
-int ntfs_write_compressed(ntfs_inode *ino, ntfs_attribute *attr, int offset,
+int ntfs_write_compressed(ntfs_inode *ino, ntfs_attribute *attr, __s64 offset,
 			  ntfs_io *dest);
 
 int ntfs_create_attr(ntfs_inode *ino, int anum, char *aname, void *data,
@@ -26,8 +32,8 @@
 int ntfs_attr_allnonresident(ntfs_inode *ino);
 
 int ntfs_new_attr(ntfs_inode *ino, int type, void *name, int namelen,
-		  int *pos, int *found, int do_search );
+		  void *value, int value_len, int *pos, int *found);
 
-void ntfs_insert_run(ntfs_attribute *attr, int cnum, ntfs_cluster_t cluster,
+int ntfs_insert_run(ntfs_attribute *attr, int cnum, ntfs_cluster_t cluster,
 		     int len );
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)