3 * Header file for inode.c
5 * Copyright (C) 1997 Régis Duchesne
6 * Copyright (C) 1998 Martin von Löwis
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
,
12 int ntfs_write_attr(ntfs_inode
*ino
, int type
, char *name
, int offset
,
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
,
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
,
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
);