summaryrefslogtreecommitdiffhomepage
path: root/include/perk/perk.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-06-25 16:36:31 -0400
committermidipix <writeonce@midipix.org>2016-11-10 23:35:50 -0500
commit6fe7c15a1219eec0de9fafde73edc862a6669050 (patch)
treeebe90fc42819807bb48a178591a1de312f3ffbbe /include/perk/perk.h
parentfa93e527c540aa786f3905c540995ff8c9005dc1 (diff)
downloadperk-6fe7c15a1219eec0de9fafde73edc862a6669050.tar.bz2
perk-6fe7c15a1219eec0de9fafde73edc862a6669050.tar.xz
utility: added pe_main() as a public interface, refactored accordingly.
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 d6f69ec..f7cefaa 100644
--- a/include/perk/perk.h
+++ b/include/perk/perk.h
@@ -167,6 +167,7 @@ perk_api int pe_get_unit_ctx (const struct pe_driver_ctx *, const char * path,
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_export_symbols (const struct pe_image_meta *, const struct pe_common_ctx *, FILE *);
perk_api int pe_output_import_libraries(const struct pe_image_meta *, const struct pe_common_ctx *, FILE *);