#ifndef __MPQ_BIOS_H__ #define __MPQ_BIOS_H__ #include "inttypes.h" struct mpq_internals_t; typedef struct { char * name; struct mpq_internals_t * mpq_i; } mpq_archive_t; #ifdef __cplusplus extern "C" { #endif void mpqlib_init(); mpq_archive_t * mpqlib_open_archive(const char * fname); mpq_archive_t * mpqlib_reopen_archive(int fd); void mpqlib_printtables(mpq_archive_t *); void mpqlib_close_archive(mpq_archive_t *); int mpqlib_find_hash_entry(mpq_archive_t *, const char * name, uint32_t language, uint32_t platform); #ifdef __cplusplus } #endif #endif