summaryrefslogtreecommitdiffhomepage
path: root/include/perk/perk.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-12 16:20:21 -0500
committermidipix <writeonce@midipix.org>2016-11-12 16:20:21 -0500
commit665ac36fa8328a852876551140cd9fc6c4c22b94 (patch)
tree32e9d8daeee46d87b6158c02f8417c21324c5019 /include/perk/perk.h
parentb697ef4ed3024d0198d379fe73aede5669fab5de (diff)
downloadperk-665ac36fa8328a852876551140cd9fc6c4c22b94.tar.bz2
perk-665ac36fa8328a852876551140cd9fc6c4c22b94.tar.xz
driver: added --type support (print image type).
Diffstat (limited to 'include/perk/perk.h')
-rw-r--r--include/perk/perk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/perk/perk.h b/include/perk/perk.h
index 8624838..5e6010d 100644
--- a/include/perk/perk.h
+++ b/include/perk/perk.h
@@ -194,6 +194,7 @@ perk_api void pe_free_unit_ctx (struct pe_unit_ctx *);
/* utility api */
perk_api int pe_main (int, char **, char **);
+perk_api int pe_output_image_type (const struct pe_driver_ctx *, const struct pe_unit_ctx *, FILE *);
perk_api int pe_output_export_symbols (const struct pe_driver_ctx *, const struct pe_image_meta *, FILE *);
perk_api int pe_output_import_libraries(const struct pe_driver_ctx *, const struct pe_image_meta *, FILE *);
perk_api int pe_output_error_record (const struct pe_driver_ctx *, const struct pe_error_info *);