diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | mpq-fs.c | 11 | ||||
-rw-r--r-- | mpq-fs.h | 2 |
3 files changed, 14 insertions, 1 deletions
@@ -2,7 +2,7 @@ CC = gcc LD = gcc AR = ar rcs -CPPFLAGS = -g -Wall -Werror -D_FILE_OFFSET_BITS=64 +CPPFLAGS = -g -Wall -Werror -D_FILE_OFFSET_BITS=64 -I. LDFLAGS = -g -lssl SOURCE_LIST = \ @@ -1,2 +1,13 @@ +#include <stdlib.h> #include "mpq-fs.h" +void mpqlib_fs_add_archive(struct mpq_archive_t * mpq_a) { +} + +void mpqlib_fs_attach_listfile(struct mpq_archive_t * mpq_a, const char * listfile) { + mpqlib_fs_add_archive(mpq_a); +} + +struct mpq_file_t * mpqlib_fs_open(const char * fname) { + return NULL; +} @@ -11,6 +11,8 @@ extern "C" { void mpqlib_fs_add_archive(struct mpq_archive_t *); void mpqlib_fs_attach_listfile(struct mpq_archive_t *, const char *); +struct mpq_file_t * mpqlib_fs_open(const char *); + #ifdef __cplusplus } #endif |