summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-19 14:44:25 -0500
committermidipix <writeonce@midipix.org>2016-11-19 14:44:25 -0500
commitde5b3010350adbf3c5b9ceb12ddc0a2658a0f5ac (patch)
tree05dc766ecb9a740d02fec195d7f2416659ea886e /include
parent70b202ce6334016bfd90be0dd7ee28b9a2262946 (diff)
downloadpemagine-de5b3010350adbf3c5b9ceb12ddc0a2658a0f5ac.tar.bz2
pemagine-de5b3010350adbf3c5b9ceb12ddc0a2658a0f5ac.tar.xz
PE format: struct pe_image_dos_hdr --> struct pe_raw_image_dos_hdr.
Diffstat (limited to 'include')
-rw-r--r--include/pemagine/pe_structs.h2
-rw-r--r--include/pemagine/pemagine.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/pemagine/pe_structs.h b/include/pemagine/pe_structs.h
index 2baabb0..aa5fd69 100644
--- a/include/pemagine/pe_structs.h
+++ b/include/pemagine/pe_structs.h
@@ -5,7 +5,7 @@
extern "C" {
#endif
-struct pe_image_dos_hdr {
+struct pe_raw_image_dos_hdr {
unsigned char dos_magic [0x02]; /* 0x00 */
unsigned char dos_cblp [0x02]; /* 0x02 */
unsigned char dos_cp [0x02]; /* 0x04 */
diff --git a/include/pemagine/pemagine.h b/include/pemagine/pemagine.h
index 9845a48..db1023a 100644
--- a/include/pemagine/pemagine.h
+++ b/include/pemagine/pemagine.h
@@ -152,7 +152,7 @@ typedef int pe_enum_image_import_hdrs_callback(
void * context);
/* library functions */
-pe_api struct pe_image_dos_hdr * pe_get_image_dos_hdr_addr (const void * base);
+pe_api struct pe_raw_image_dos_hdr * pe_get_image_dos_hdr_addr (const void * base);
pe_api struct pe_coff_file_hdr * pe_get_image_coff_hdr_addr (const void * base);
pe_api union pe_opt_hdr * pe_get_image_opt_hdr_addr (const void * base);
pe_api struct pe_data_dirs * pe_get_image_data_dirs_addr (const void * base);