summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-05-26 22:39:10 -0400
committermidipix <writeonce@midipix.org>2016-11-10 23:35:19 -0500
commit2b71e842c7f9a7a2130e9516ab0f900d41f1fc48 (patch)
treeb38b8cd9daf6f88099797973680f4267c500a382 /include
parentca49435bbfc3d8394cfc10809d2ab8ff706560b8 (diff)
downloadperk-2b71e842c7f9a7a2130e9516ab0f900d41f1fc48.tar.bz2
perk-2b71e842c7f9a7a2130e9516ab0f900d41f1fc48.tar.xz
pe_map_raw_image: accept page protection as an argument.
Diffstat (limited to 'include')
-rw-r--r--include/perk/perk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/perk/perk.h b/include/perk/perk.h
index 11b5f45..c6aeed7 100644
--- a/include/perk/perk.h
+++ b/include/perk/perk.h
@@ -74,7 +74,7 @@ struct pe_image_meta {
perk_api int pe_output_export_symbols (const struct pe_image_meta *, uint32_t flags, FILE *);
/* high-level api */
-perk_api int pe_map_raw_image (int fd, const char * name, struct pe_raw_image *);
+perk_api int pe_map_raw_image (int fd, const char * name, int prot, struct pe_raw_image *);
perk_api int pe_unmap_raw_image (struct pe_raw_image *);
perk_api int pe_get_image_meta (const struct pe_raw_image *, struct pe_image_meta **);