summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-11-26 10:20:15 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:27 -0500
commit2b7f36676ba14efc7a250a56a805493e8fddedde (patch)
tree3d2f423e32e011d423b164b09ed6d9792d895c89 /include
parentbd5676e7016bede788b6b1ea174cce06c1a71cce (diff)
downloadperk-2b7f36676ba14efc7a250a56a805493e8fddedde.tar.bz2
perk-2b7f36676ba14efc7a250a56a805493e8fddedde.tar.xz
whitespace meditation.
Diffstat (limited to 'include')
-rw-r--r--include/perk/perk.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/include/perk/perk.h b/include/perk/perk.h
index a7720e7..fa23754 100644
--- a/include/perk/perk.h
+++ b/include/perk/perk.h
@@ -150,33 +150,33 @@ 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_get_driver_ctx (const char ** argv, const char ** envp, uint32_t flags, 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 * path, struct pe_unit_ctx **);
+perk_api int pe_get_unit_ctx (struct pe_driver_ctx *, const char * path, 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 *);
+perk_api int pe_output_export_symbols (const struct pe_image_meta *, const struct pe_common_ctx *, FILE *);
/* high-level api */
-perk_api int pe_map_raw_image (int fd, const char * path, int prot, struct pe_raw_image *);
-perk_api int pe_unmap_raw_image (struct pe_raw_image *);
+perk_api int pe_map_raw_image (int fd, const char * path, 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 **);
-perk_api void pe_free_image_meta (struct pe_image_meta *);
+perk_api int pe_get_image_meta (const struct pe_raw_image *, 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 *);
+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 *);
/* 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 *);
-perk_api int pe_read_optional_header (const union pe_opt_hdr *, struct pe_meta_opt_hdr *);
-perk_api int pe_read_section_header (const struct pe_sec_hdr *, struct pe_meta_sec_hdr *);
-perk_api int pe_read_export_header (const struct pe_export_hdr *, struct pe_meta_export_hdr *);
-perk_api int pe_read_import_header (const struct pe_import_hdr *, struct pe_meta_import_hdr *);
-perk_api int pe_read_import_lookup_item (const struct pe_import_lookup_item *, struct pe_meta_import_lookup_item *, uint32_t magic);
+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 *);
+perk_api int pe_read_optional_header (const union pe_opt_hdr *, struct pe_meta_opt_hdr *);
+perk_api int pe_read_section_header (const struct pe_sec_hdr *, struct pe_meta_sec_hdr *);
+perk_api int pe_read_export_header (const struct pe_export_hdr *, struct pe_meta_export_hdr *);
+perk_api int pe_read_import_header (const struct pe_import_hdr *, struct pe_meta_import_hdr *);
+perk_api int pe_read_import_lookup_item(const struct pe_import_lookup_item *, struct pe_meta_import_lookup_item *, uint32_t magic);
#ifdef __cplusplus
}