rpcd: iwinfo plugin fixes
[openwrt.git] / package / system / mtd / src / fis.h
1 #ifndef __FIS_H
2 #define __FIS_H
3
4 struct fis_part {
5         unsigned char name[16];
6         uint32_t offset;
7         uint32_t loadaddr;
8         uint32_t size;
9 };
10
11 int fis_validate(struct fis_part *old, int n_old, struct fis_part *new, int n_new);
12 int fis_remap(struct fis_part *old, int n_old, struct fis_part *new, int n_new);
13
14 #endif