summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-11-22 14:13:56 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:26 -0500
commitfa22b4823aab053f0500b117527fa910db70277a (patch)
tree91433321cf15a053b456936dcbd351ff690f8653 /include
parent8f16136058b89e3f1f4c0fad9cad21fe26978483 (diff)
downloadperk-fa22b4823aab053f0500b117527fa910db70277a.tar.bz2
perk-fa22b4823aab053f0500b117527fa910db70277a.tar.xz
driver integration 6/9: image map & meta logic: API changes (fd,free,ret).
Diffstat (limited to 'include')
-rw-r--r--include/perk/perk.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/perk/perk.h b/include/perk/perk.h
index 22f7bd5..f05ae89 100644
--- a/include/perk/perk.h
+++ b/include/perk/perk.h
@@ -151,10 +151,10 @@ struct pe_unit_ctx {
/* driver api */
perk_api int pe_get_driver_ctx (const char ** argv, const char ** envp, uint32_t flags, struct pe_driver_ctx **);
-perk_api int pe_free_driver_ctx (struct pe_driver_ctx *);
+perk_api void pe_free_driver_ctx (struct pe_driver_ctx *);
perk_api int pe_get_unit_ctx (struct pe_driver_ctx *, const char * name, struct pe_unit_ctx **);
-perk_api int pe_free_unit_ctx (struct pe_unit_ctx *);
+perk_api void pe_free_unit_ctx (struct pe_unit_ctx *);
/* utility api */
perk_api int pe_output_export_symbols (const struct pe_image_meta *, const struct pe_common_ctx *, FILE *);
@@ -164,7 +164,7 @@ perk_api int pe_map_raw_image (int fd, const char * name, int prot, struct pe_r
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 **);
-perk_api int pe_free_image_meta (struct pe_image_meta *);
+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 *);