Add missing #include file: yaffs_nandemul2k.h and removing a macro which is now redef...
[yaffs2.git] / yaffs_packedtags1.h
1 // This is used to pack YAFFS1 tags, not YAFFS2 tags.
2
3 #ifndef __YAFFS_PACKEDTAGS1_H__
4 #define __YAFFS_PACKEDTAGS1_H__
5
6
7 #include "yaffs_guts.h"
8
9 typedef struct
10 {   
11     unsigned chunkId:20;
12     unsigned serialNumber:2;
13     unsigned byteCount:10;
14     unsigned objectId:18;
15     unsigned ecc:12;
16     unsigned deleted:1;
17     unsigned unusedStuff:1;
18     unsigned shouldBeFF;
19
20 } yaffs_PackedTags1;
21
22
23
24 void yaffs_PackTags1(yaffs_PackedTags1 *pt, const yaffs_ExtendedTags *t);
25 void yaffs_UnpackTags1(yaffs_ExtendedTags *t, const yaffs_PackedTags1 *pt);
26 #endif
27
28