Changes by: yura
Update of /cvs/linux-ntfs/ntfsprogs/include/ntfs
In directory delta357.server4you.de:/tmp/cvs-serv12027/include/ntfs
Modified Files:
attrib.h
Log Message:
Add new API ntfs_attr_exist() that checks whether attribute with selected type and name already present in inode. (Szaka)
Index: attrib.h
===================================================================
RCS file: /cvs/linux-ntfs/ntfsprogs/include/ntfs/attrib.h,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -p -r1.29 -r1.30
--- attrib.h 27 Mar 2006 20:01:36 -0000 1.29
+++ attrib.h 2 Aug 2006 03:12:34 -0000 1.30
@@ -317,6 +317,9 @@ extern int ntfs_attr_update_mapping_pair
extern int ntfs_attr_truncate(ntfs_attr *na, const s64 newsize);
+extern int ntfs_attr_exist(ntfs_inode *ni, const ATTR_TYPES type,
+ ntfschar *name, u32 name_len);
+
// FIXME / TODO: Above here the file is cleaned up. (AIA)
/**
* get_attribute_value_length - return the length of the value of an attribute
|