comparison direct/yaffs_packedtags.h @ 1:1a7b08737ec4

*** empty log message ***
author charles
date Wed, 03 Nov 2004 08:29:28 +0000
parents
children
comparison
equal deleted inserted replaced
0:2e830ef1597a 1:1a7b08737ec4
1
2 #ifndef __YAFFS_PACKEDTAGS_H__
3 #define __YAFFS_PACKEDTAGS_H__
4
5 #include "yaffs_guts.h"
6
7 typedef struct
8 {
9 unsigned chunkId:20;
10 unsigned serialNumber:2;
11 unsigned byteCount:10;
12 unsigned objectId:18;
13 unsigned ecc:12;
14 unsigned deleted:1;
15 unsigned unusedStuff:1;
16 unsigned shouldBeFF;
17
18 } yaffs_PackedTags;
19
20 void yaffs_PackTags(yaffs_PackedTags *pt, yaffs_ExtendedTags *t);
21 void yaffs_UnpackTags(yaffs_ExtendedTags *t, yaffs_PackedTags *pt);
22 #endif
23
24