Changes by: szaka
Update of /cvsroot/linux-ntfs/ntfsprogs/include/ntfs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12641/include/ntfs
Modified Files:
attrib.h
Log Message:
libntfs: add ntfs_attr_readall() which reads the entire data from an attribute
Index: attrib.h
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/include/ntfs/attrib.h,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -p -r1.28 -r1.29
--- attrib.h 20 Nov 2005 11:34:30 -0000 1.28
+++ attrib.h 27 Mar 2006 20:01:36 -0000 1.29
@@ -270,6 +270,9 @@ extern s64 ntfs_attr_pread(ntfs_attr *na
extern s64 ntfs_attr_pwrite(ntfs_attr *na, const s64 pos, s64 count,
const void *b);
+extern void *ntfs_attr_readall(ntfs_inode *ni, const ATTR_TYPES type,
+ ntfschar *name, u32 name_len, s64 *data_size);
+
extern s64 ntfs_attr_mst_pread(ntfs_attr *na, const s64 pos,
const s64 bk_cnt, const u32 bk_size, void *dst);
extern s64 ntfs_attr_mst_pwrite(ntfs_attr *na, const s64 pos,
|