diff options
author | pixel <pixel> | 2007-07-10 09:31:39 +0000 |
---|---|---|
committer | pixel <pixel> | 2007-07-10 09:31:39 +0000 |
commit | da769d1be51b4251854b10f841b6764cbc1fde1f (patch) | |
tree | e0f3f791a34d37802880d9cd8ba972b785115d49 | |
parent | a3e08df7a6655e7baf3505edeed3a1c0dff5bbf8 (diff) |
Include files search path.
-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 |