1 /* 2 * Export table functions 3 * 4 * Copyright (C) 2011-2021, Joachim Metz <joachim.metz@gmail.com> 5 * 6 * Refer to AUTHORS for acknowledgements. 7 * 8 * This program is free software: you can redistribute it and/or modify 9 * it under the terms of the GNU Lesser General Public License as published by 10 * the Free Software Foundation, either version 3 of the License, or 11 * (at your option) any later version. 12 * 13 * This program is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * You should have received a copy of the GNU Lesser General Public License 19 * along with this program. If not, see <https://www.gnu.org/licenses/>. 20 */ 21 22 #if !defined( _LIBEXE_EXPORT_TABLE_H ) 23 #define _LIBEXE_EXPORT_TABLE_H 24 25 #include <common.h> 26 #include <types.h> 27 28 #include "libexe_libbfio.h" 29 #include "libexe_libcerror.h" 30 31 #if defined( __cplusplus ) 32 extern "C" { 33 #endif 34 35 typedef struct libexe_export_table libexe_export_table_t; 36 37 struct libexe_export_table 38 { 39 /* Dummy 40 */ 41 int dummy; 42 }; 43 44 int libexe_export_table_initialize( 45 libexe_export_table_t **export_table, 46 libcerror_error_t **error ); 47 48 int libexe_export_table_free( 49 libexe_export_table_t **export_table, 50 libcerror_error_t **error ); 51 52 int libexe_export_table_read( 53 libexe_export_table_t *export_table, 54 libbfio_handle_t *file_io_handle, 55 off64_t file_offset, 56 uint32_t size, 57 libcerror_error_t **error ); 58 59 #if defined( __cplusplus ) 60 } 61 #endif 62 63 #endif /* !defined( _LIBEXE_EXPORT_TABLE_H ) */ 64 65