add a package for the badblocks utility (closes: #3404)
[openwrt.git] / package / mtd / src / mtd.h
1 #ifndef __mtd_h
2 #define __mtd_h
3
4 extern int quiet;
5 extern int mtdsize;
6 extern int erasesize;
7
8 extern int mtd_open(const char *mtd);
9 extern int mtd_check_open(char *mtd);
10 extern int mtd_erase_block(int fd, int offset);
11 extern int mtd_write_buffer(int fd, char *buf, int offset, int length);
12 extern int mtd_write_jffs2(char *mtd, char *filename, char *dir);
13
14 #endif /* __mtd_h */
This page took 0.03944 seconds and 5 git commands to generate.