diff options
Diffstat (limited to 'mpq-bios.h')
-rw-r--r-- | mpq-bios.h | 18 |
1 files changed, 7 insertions, 11 deletions
@@ -3,11 +3,7 @@ #include "inttypes.h" -struct mpq_internals_t; - -typedef struct { - struct mpq_internals_t * mpq_i; -} mpq_archive_t; +struct mpq_archive_t; #define MPQ_FLAGS_ISFILE 0x80000000 #define MPQ_FLAGS_HAS_META 0x04000000 @@ -32,12 +28,12 @@ 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); -uint64_t mpqlib_ioctl(mpq_archive_t *, enum mpqlib_ioctl_t command, int entry); +struct mpq_archive_t * mpqlib_open_archive(const char * fname); +struct mpq_archive_t * mpqlib_reopen_archive(int fd); +void mpqlib_printtables(struct mpq_archive_t *); +void mpqlib_close_archive(struct mpq_archive_t *); +int mpqlib_find_hash_entry(struct mpq_archive_t *, const char * name, uint32_t language, uint32_t platform); +uint64_t mpqlib_ioctl(struct mpq_archive_t *, enum mpqlib_ioctl_t command, int entry); #ifdef __cplusplus } |