projects
/
openwrt
/
staging
/
chunkeey.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
mtd: add fixwrg command
[openwrt/staging/chunkeey.git]
/
package
/
system
/
mtd
/
src
/
wrgg.h
1
#ifndef __wrgg_h
2
#define __wrgg_h
3
4
#define WRGG03_MAGIC 0x20080321
5
6
struct
wrgg03_header
{
7
char
signature
[
32
];
8
uint32_t
magic1
;
9
uint32_t
magic2
;
10
char
version
[
16
];
11
char
model
[
16
];
12
uint32_t
flag
[
2
];
13
uint32_t
reserve
[
2
];
14
char
buildno
[
16
];
15
uint32_t
size
;
16
uint32_t
offset
;
17
char
dev_name
[
32
];
18
char
digest
[
16
];
19
}
__attribute__
((
packed
));
20
#endif
/* __wrgg_h */