GPIODEV: Fix open-count race condition.
[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.073578 seconds and 5 git commands to generate.