Home | History | Annotate | Download | only in yaffs2
      1 /* This is used to pack YAFFS2 tags, not YAFFS1tags. */
      2 
      3 #ifndef __YAFFS_PACKEDTAGS2_H__
      4 #define __YAFFS_PACKEDTAGS2_H__
      5 
      6 #include "yaffs_guts.h"
      7 #include "yaffs_ecc.h"
      8 
      9 typedef struct {
     10 	unsigned sequenceNumber;
     11 	unsigned objectId;
     12 	unsigned chunkId;
     13 	unsigned byteCount;
     14 } yaffs_PackedTags2TagsPart;
     15 
     16 typedef struct {
     17 	yaffs_PackedTags2TagsPart t;
     18 	yaffs_ECCOther ecc;
     19 } yaffs_PackedTags2;
     20 
     21 void yaffs_PackTags2(yaffs_PackedTags2 * pt, const yaffs_ExtendedTags * t);
     22 void yaffs_UnpackTags2(yaffs_ExtendedTags * t, yaffs_PackedTags2 * pt);
     23 #endif
     24