summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-12 22:23:08 -0500
committermidipix <writeonce@midipix.org>2016-11-12 22:23:08 -0500
commitc7ca52f4ec6005315ac2a2374f4f05fb1ae62ad2 (patch)
tree0a47b264a987c41620f76fb8d71823e20bbaa274 /include
parenta5cc53c9e31a213da5ef8779ebca4de034e3b96f (diff)
downloadperk-c7ca52f4ec6005315ac2a2374f4f05fb1ae62ad2.tar.bz2
perk-c7ca52f4ec6005315ac2a2374f4f05fb1ae62ad2.tar.xz
logic: added pe_get_expsym_by_name(), pe_get_expsym_by_index().
Diffstat (limited to 'include')
-rw-r--r--include/perk/perk.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/perk/perk.h b/include/perk/perk.h
index 5e6010d..9412173 100644
--- a/include/perk/perk.h
+++ b/include/perk/perk.h
@@ -210,6 +210,12 @@ perk_api void pe_free_image_meta (struct pe_image_meta *);
perk_api int pe_get_named_section_index(const struct pe_image_meta *, const char * name);
perk_api int pe_get_block_section_index(const struct pe_image_meta *, const struct pe_block *);
+perk_api
+const char * pe_get_expsym_by_name (const struct pe_image_meta *, const char * name);
+
+perk_api
+const char * pe_get_expsym_by_index (const struct pe_image_meta *, unsigned index);
+
/* low-level api */
perk_api int pe_read_dos_header (const struct pe_image_dos_hdr *, struct pe_meta_image_dos_hdr *);
perk_api int pe_read_coff_header (const struct pe_coff_file_hdr *, struct pe_meta_coff_file_hdr *);