summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-19 14:42:10 -0500
committermidipix <writeonce@midipix.org>2016-11-19 14:42:10 -0500
commit70b202ce6334016bfd90be0dd7ee28b9a2262946 (patch)
tree1048ad652f1c2ca7c5bd45d0eed86c5de88e61c1
parentce8faba76b295076bf3781f8c3441bffcd7f69d6 (diff)
downloadpemagine-70b202ce6334016bfd90be0dd7ee28b9a2262946.tar.bz2
pemagine-70b202ce6334016bfd90be0dd7ee28b9a2262946.tar.xz
whitespace meditation.
-rw-r--r--include/pemagine/pemagine.h70
1 files changed, 35 insertions, 35 deletions
diff --git a/include/pemagine/pemagine.h b/include/pemagine/pemagine.h
index 5516e6d..9845a48 100644
--- a/include/pemagine/pemagine.h
+++ b/include/pemagine/pemagine.h
@@ -152,41 +152,41 @@ typedef int pe_enum_image_import_hdrs_callback(
void * context);
/* library functions */
-pe_api struct pe_image_dos_hdr *pe_get_image_dos_hdr_addr (const void * base);
-pe_api struct pe_coff_file_hdr *pe_get_image_coff_hdr_addr (const void * base);
-pe_api union pe_opt_hdr * pe_get_image_opt_hdr_addr (const void * base);
-pe_api struct pe_data_dirs * pe_get_image_data_dirs_addr (const void * base);
-pe_api struct pe_sec_hdr * pe_get_image_section_tbl_addr (const void * base);
-pe_api struct pe_sec_hdr * pe_get_image_named_section_addr (const void * base, const char * name);
-pe_api struct pe_export_hdr * pe_get_image_export_hdr_addr (const void * base, uint32_t * sec_size);
-pe_api struct pe_import_hdr * pe_get_image_import_dir_addr (const void * base, uint32_t * sec_size);
-pe_api void * pe_get_image_special_hdr_addr (const void * base, uint32_t ordinal, uint32_t * sec_size);
-pe_api void * pe_get_image_entry_point_addr (const void * base);
-pe_api int pe_get_image_stack_heap_info (const void * base, struct pe_stack_heap_info *);
-
-pe_api void * pe_get_procedure_address (const void * base, const char * name);
-pe_api int pe_get_export_symbol_info (const void * base, const char * name, struct pe_export_sym *);
-pe_api int pe_enum_image_exports (const void * base,
- pe_enum_image_exports_callback *,
- struct pe_export_sym *,
- void * ctx);
-
-pe_api int pe_enum_image_import_hdrs (const void * base,
- pe_enum_image_import_hdrs_callback *,
- void * ctx);
-
-pe_api char * pe_get_symbol_name (const void * base, const void * sym_addr);
-pe_api struct pe_ldr_tbl_entry *pe_get_symbol_module_info (const void * sym_addr);
-pe_api char * pe_get_import_symbol_info (const void * sym_addr,
- struct pe_ldr_tbl_entry ** ldr_tbl_entry);
-
-pe_api int pe_enum_modules_in_load_order (pe_enum_modules_callback *, void * ctx);
-pe_api int pe_enum_modules_in_memory_order (pe_enum_modules_callback *, void * ctx);
-pe_api int pe_enum_modules_in_init_order (pe_enum_modules_callback *, void * ctx);
-pe_api void * pe_get_module_handle (const wchar16_t * name);
-pe_api void * pe_get_first_module_handle (void);
-pe_api void * pe_get_ntdll_module_handle (void);
-pe_api void * pe_get_kernel32_module_handle (void);
+pe_api struct pe_image_dos_hdr * pe_get_image_dos_hdr_addr (const void * base);
+pe_api struct pe_coff_file_hdr * pe_get_image_coff_hdr_addr (const void * base);
+pe_api union pe_opt_hdr * pe_get_image_opt_hdr_addr (const void * base);
+pe_api struct pe_data_dirs * pe_get_image_data_dirs_addr (const void * base);
+pe_api struct pe_sec_hdr * pe_get_image_section_tbl_addr (const void * base);
+pe_api struct pe_sec_hdr * pe_get_image_named_section_addr (const void * base, const char * name);
+pe_api struct pe_export_hdr * pe_get_image_export_hdr_addr (const void * base, uint32_t * sec_size);
+pe_api struct pe_import_hdr * pe_get_image_import_dir_addr (const void * base, uint32_t * sec_size);
+pe_api void * pe_get_image_special_hdr_addr (const void * base, uint32_t ordinal, uint32_t * sec_size);
+pe_api void * pe_get_image_entry_point_addr (const void * base);
+pe_api int pe_get_image_stack_heap_info (const void * base, struct pe_stack_heap_info *);
+
+pe_api void * pe_get_procedure_address (const void * base, const char * name);
+pe_api int pe_get_export_symbol_info (const void * base, const char * name, struct pe_export_sym *);
+pe_api int pe_enum_image_exports (const void * base,
+ pe_enum_image_exports_callback *,
+ struct pe_export_sym *,
+ void * ctx);
+
+pe_api int pe_enum_image_import_hdrs (const void * base,
+ pe_enum_image_import_hdrs_callback *,
+ void * ctx);
+
+pe_api char * pe_get_symbol_name (const void * base, const void * sym_addr);
+pe_api struct pe_ldr_tbl_entry * pe_get_symbol_module_info (const void * sym_addr);
+pe_api char * pe_get_import_symbol_info (const void * sym_addr,
+ struct pe_ldr_tbl_entry ** ldr_tbl_entry);
+
+pe_api int pe_enum_modules_in_load_order (pe_enum_modules_callback *, void * ctx);
+pe_api int pe_enum_modules_in_memory_order (pe_enum_modules_callback *, void * ctx);
+pe_api int pe_enum_modules_in_init_order (pe_enum_modules_callback *, void * ctx);
+pe_api void * pe_get_module_handle (const wchar16_t * name);
+pe_api void * pe_get_first_module_handle (void);
+pe_api void * pe_get_ntdll_module_handle (void);
+pe_api void * pe_get_kernel32_module_handle (void);
#ifdef __cplusplus