Changes by: antona
Update of /cvsroot/linux-ntfs/linux-ntfs/include
In directory usw-pr-cvs1:/tmp/cvs-serv10128/include
Modified Files:
attrib.h
Log Message:
Add new API ntfs_attr_{get,put}.
Index: attrib.h
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/include/attrib.h,v
retrieving revision 1.32
retrieving revision 1.33
diff -U2 -r1.32 -r1.33
--- attrib.h 23 Apr 2002 11:02:59 -0000 1.32
+++ attrib.h 24 Apr 2002 19:02:07 -0000 1.33
@@ -111,6 +111,6 @@
*
* @type is the attribute type (see layout.h for the definition of ATTR_TYPES),
- * @name and @name_len are the Unicode name and name length in Unicode
- * characters of the attribute, respecitvely.
+ * @name and @name_len are the little endian Unicode name and the name length
+ * in Unicode characters of the attribute, respecitvely.
*
* @state contains NTFS attribute specific flags descibing this attribute
@@ -118,11 +118,15 @@
*/
typedef struct {
+ run_list_element *rl;
+ ntfs_inode *ni;
ATTR_TYPES type;
uchar_t *name;
__u32 name_len;
- run_list_element *rl;
- ntfs_inode *ni;
unsigned long state;
} ntfs_attr;
+
+extern ntfs_attr *ntfs_attr_get(ntfs_inode *ni, const ATTR_TYPES type,
+ uchar_t *name, const __u32 name_len, const unsigned long state);
+extern void ntfs_attr_put(ntfs_attr *na);
extern void ntfs_reinit_attr_search_ctx(ntfs_attr_search_ctx *ctx);
|