Import 2.3.26pre2
[davej-history.git] / fs / ntfs / inode.h
blobb3627f8cf149873d28592372fff900e851d92473
1 /*
2 * inode.h
3 * Header file for inode.c
5 * Copyright (C) 1997 Régis Duchesne
6 * Copyright (C) 1998 Martin von Löwis
7 */
9 ntfs_attribute *ntfs_find_attr(ntfs_inode *ino, int type, char *name);
10 int ntfs_read_attr(ntfs_inode *ino, int type, char *name, int offset,
11 ntfs_io *buf);
12 int ntfs_write_attr(ntfs_inode *ino, int type, char *name, int offset,
13 ntfs_io *buf);
14 int ntfs_init_inode(ntfs_inode *ino,ntfs_volume *vol,int inum);
15 void ntfs_clear_inode(ntfs_inode *ino);
16 int ntfs_check_mft_record(ntfs_volume *vol,char *record);
17 int ntfs_alloc_inode (ntfs_inode *dir, ntfs_inode *result,
18 const char *filename, int namelen,ntfs_u32);
19 int ntfs_alloc_file (ntfs_inode *dir, ntfs_inode *result,
20 char *filename, int namelen);
21 int ntfs_update_inode(ntfs_inode *ino);
22 int ntfs_vcn_to_lcn(ntfs_inode *ino, int vcn);
23 int ntfs_readwrite_attr(ntfs_inode *ino, ntfs_attribute *attr, int offset,
24 ntfs_io *dest);
25 int ntfs_allocate_attr_number(ntfs_inode *ino, int *result);
26 int ntfs_decompress_run(unsigned char **data, int *length, ntfs_cluster_t *cluster,
27 int *ctype);
28 void ntfs_decompress(unsigned char *dest, unsigned char *src, ntfs_size_t l);
29 void ntfs_fill_mft_header( ntfs_u8 *mft, int recordsize, int blocksize,
30 int sequence_number );