summaryrefslogtreecommitdiff
path: root/mpq-bios.h
diff options
context:
space:
mode:
authorpixel <pixel>2007-07-09 19:06:25 +0000
committerpixel <pixel>2007-07-09 19:06:25 +0000
commit18ceb4dedfd48580a5649f8c31aaf72614790e72 (patch)
tree9646cc1b0d8b7d8de545a5b9894f132846d5f223 /mpq-bios.h
parentfabd02b4bb0c1df2b65ea682b29087a1776954ed (diff)
Simplified writing.
Diffstat (limited to 'mpq-bios.h')
-rw-r--r--mpq-bios.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/mpq-bios.h b/mpq-bios.h
index 138367d..a30ef16 100644
--- a/mpq-bios.h
+++ b/mpq-bios.h
@@ -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
}