diff --git a/ChangeLog b/ChangeLog index 17570fcd..e7f2e05d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -69,7 +69,9 @@ xx/xx/2004 - 2.0.0-WIP - Rename scpu_to_le{16,32,64}() to cpu_to_sle{16,32,64}() to match the kernel. - ntfsclone: honor bad clusters list ($BadClus:$Bad), known bad sectors - aren't tried to be saved anymore. (Szaka) + aren't tried to be saved anymore. (Szaka) + - Add new API attrib.[ch]::ntfs_attr_record_move_to and make + ntfs_resident_attr_resize use it. (Yura) 04/09/2004 - 1.9.4 - Urgent bug fixes. diff --git a/include/ntfs/attrib.h b/include/ntfs/attrib.h index 937d77a4..ad7f1c80 100644 --- a/include/ntfs/attrib.h +++ b/include/ntfs/attrib.h @@ -276,8 +276,6 @@ extern int ntfs_attr_can_be_resident(const ntfs_volume *vol, extern int ntfs_make_room_for_attr(MFT_RECORD *m, u8 *pos, u32 size); -extern int ntfs_attr_record_resize(MFT_RECORD *m, ATTR_RECORD *a, u32 new_size); - extern int ntfs_resident_attr_record_add(ntfs_inode *ni, ATTR_TYPES type, ntfschar *name, u8 name_len, ATTR_FLAGS flags); extern int ntfs_non_resident_attr_record_add(ntfs_inode *ni, ATTR_TYPES type, @@ -285,8 +283,12 @@ extern int ntfs_non_resident_attr_record_add(ntfs_inode *ni, ATTR_TYPES type, ATTR_FLAGS flags); extern int ntfs_attr_record_rm(ntfs_attr_search_ctx *ctx); +extern int ntfs_attr_record_resize(MFT_RECORD *m, ATTR_RECORD *a, u32 new_size); + extern int ntfs_resident_attr_value_resize(MFT_RECORD *m, ATTR_RECORD *a, const u32 newsize); + +extern int ntfs_attr_record_move_to(ntfs_attr_search_ctx *ctx, ntfs_inode *ni); extern int ntfs_attr_update_mapping_pairs(ntfs_attr *na);