view tool/patchinfo.h @ 18:94999935b791 default tip

main-rvtmodem.patch created
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sun, 01 Nov 2015 06:40:12 +0000
parents 12e230d431f0
children
line wrap: on
line source

/*
 * Our libpatch tool's first step will be to read and parse an ASCII text file
 * specifying the patches to be applied.  This information will be captured
 * in data structures defined in this header file.
 */

struct patch_module_desc {
	char *member_name;
	struct patch_desc *patches;
	struct patch_module_desc *next;
};

struct patch_desc {
	char *section;
	unsigned offset;
	u_char new_byte;
	struct patch_desc *next;
};