/* * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * * Copyright (C) 2002-2011 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Charles Manning <charles@aleph1.co.uk> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 2.1 as * published by the Free Software Foundation. * * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. */#ifndef __YAFFS_CHECKPTRW_H__#define __YAFFS_CHECKPTRW_H__#include"yaffs_guts.h"intyaffs2_checkpt_open(structyaffs_dev*dev,intwriting);intyaffs2_checkpt_wr(structyaffs_dev*dev,constvoid*data,intn_bytes);intyaffs2_checkpt_rd(structyaffs_dev*dev,void*data,intn_bytes);intyaffs2_get_checkpt_sum(structyaffs_dev*dev,u32*sum);intyaffs_checkpt_close(structyaffs_dev*dev);intyaffs2_checkpt_invalidate_stream(structyaffs_dev*dev);#endif