1 #ifndef __YAFFS_CHECKPTRW_H__ 2 #define __YAFFS_CHECKPTRW_H__ 3 4 #include "yaffs_guts.h" 5 6 int yaffs_CheckpointOpen(yaffs_Device *dev, int forWriting); 7 8 int yaffs_CheckpointWrite(yaffs_Device *dev,const void *data, int nBytes); 9 10 int yaffs_CheckpointRead(yaffs_Device *dev,void *data, int nBytes); 11 12 int yaffs_CheckpointClose(yaffs_Device *dev); 13 14 int yaffs_CheckpointInvalidateStream(yaffs_Device *dev); 15 16 17 #endif 18 19