diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-10-30 18:53:09 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-10-30 18:53:09 +0000 |
commit | dfe9e683b0c294ac7c1ab0198d952331aa08e1bc (patch) | |
tree | 5508a662a1c6a5ab2f925a92d080da26604559b8 /target/linux/generic/files/fs/yaffs2/yaffs_packedtags2.h | |
parent | 4ff577f968912f0452eaeec826ead436c8a8fc87 (diff) | |
download | openwrt-dfe9e683b0c294ac7c1ab0198d952331aa08e1bc.tar.gz openwrt-dfe9e683b0c294ac7c1ab0198d952331aa08e1bc.zip |
AA: generic: fold yaffs_cvs_2009_04_24 patch to generic/files
Backport of r34012.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34017 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files/fs/yaffs2/yaffs_packedtags2.h')
-rw-r--r-- | target/linux/generic/files/fs/yaffs2/yaffs_packedtags2.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/target/linux/generic/files/fs/yaffs2/yaffs_packedtags2.h b/target/linux/generic/files/fs/yaffs2/yaffs_packedtags2.h index c2242ffe7..ec30f843b 100644 --- a/target/linux/generic/files/fs/yaffs2/yaffs_packedtags2.h +++ b/target/linux/generic/files/fs/yaffs2/yaffs_packedtags2.h @@ -33,6 +33,11 @@ typedef struct { yaffs_ECCOther ecc; } yaffs_PackedTags2; -void yaffs_PackTags2(yaffs_PackedTags2 * pt, const yaffs_ExtendedTags * t); -void yaffs_UnpackTags2(yaffs_ExtendedTags * t, yaffs_PackedTags2 * pt); +/* Full packed tags with ECC, used for oob tags */ +void yaffs_PackTags2(yaffs_PackedTags2 *pt, const yaffs_ExtendedTags *t); +void yaffs_UnpackTags2(yaffs_ExtendedTags *t, yaffs_PackedTags2 *pt); + +/* Only the tags part (no ECC for use with inband tags */ +void yaffs_PackTags2TagsPart(yaffs_PackedTags2TagsPart *pt, const yaffs_ExtendedTags *t); +void yaffs_UnpackTags2TagsPart(yaffs_ExtendedTags *t, yaffs_PackedTags2TagsPart *pt); #endif |