FreeCalypso > hg > tcs211-patches
annotate tool/patchinfo.h @ 3:003df9892e57
import original TCS211 libs from Sotovik
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Fri, 05 Jun 2015 21:19:08 +0000 |
parents | 12e230d431f0 |
children |
rev | line source |
---|---|
0
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 /* |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 * Our libpatch tool's first step will be to read and parse an ASCII text file |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 * specifying the patches to be applied. This information will be captured |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 * in data structures defined in this header file. |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 */ |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 struct patch_module_desc { |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 char *member_name; |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 struct patch_desc *patches; |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 struct patch_module_desc *next; |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 }; |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 struct patch_desc { |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 char *section; |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 unsigned offset; |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 u_char new_byte; |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 struct patch_desc *next; |
12e230d431f0
started writing libpatch tool
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 }; |