Import 2.4.0-test2pre7
[davej-history.git] / fs / ntfs / attr.h
blob1be5f8d0e76fe2f8e9de982eca31ee904243d114
1 /*
2 * attr.h
3 * Header file for attr.c
5 * Copyright (C) 1997 RĂ©gis Duchesne
6 */
8 int ntfs_extend_attr(ntfs_inode *ino, ntfs_attribute *attr, int *len,
9 int flags);
10 int ntfs_resize_attr(ntfs_inode *ino, ntfs_attribute *attr, int newsize);
11 int ntfs_insert_attribute(ntfs_inode *ino, unsigned char* attrdata);
12 int ntfs_read_compressed(ntfs_inode *ino, ntfs_attribute *attr, int offset,
13 ntfs_io *dest);
14 int ntfs_write_compressed(ntfs_inode *ino, ntfs_attribute *attr, int offset,
15 ntfs_io *dest);
16 int ntfs_create_attr(ntfs_inode *ino, int anum, char *aname, void *data,
17 int dsize, ntfs_attribute **rattr);
18 int ntfs_read_zero(ntfs_io *dest,int size);
19 int ntfs_make_attr_nonresident(ntfs_inode *ino, ntfs_attribute *attr);
20 int ntfs_attr_allnonresident(ntfs_inode *ino);
21 int ntfs_new_attr( ntfs_inode *ino, int type, void *name, int namelen,
22 int *pos, int *found, int do_search );
23 void ntfs_insert_run( ntfs_attribute *attr, int cnum, ntfs_cluster_t cluster,
24 int len );