#ifndef __MTD_NFTL_H__
#define __MTD_NFTL_H__
#include <linux/mtd/mtd.h>
#include <linux/mtd/blktrans.h>
#include <mtd/nftl-user.h>
#define BLOCK_NIL …
#define BLOCK_FREE …
#define BLOCK_NOTEXPLORED …
#define BLOCK_RESERVED …
struct NFTLrecord { … };
int NFTL_mount(struct NFTLrecord *s);
int NFTL_formatblock(struct NFTLrecord *s, int block);
int nftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len,
size_t *retlen, uint8_t *buf);
int nftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len,
size_t *retlen, uint8_t *buf);
#ifndef NFTL_MAJOR
#define NFTL_MAJOR …
#endif
#define MAX_NFTLS …
#define MAX_SECTORS_PER_UNIT …
#define NFTL_PARTN_BITS …
#endif