From da769d1be51b4251854b10f841b6764cbc1fde1f Mon Sep 17 00:00:00 2001
From: pixel <pixel>
Date: Tue, 10 Jul 2007 09:31:39 +0000
Subject: Include files search path.

---
 Makefile |  2 +-
 mpq-fs.c | 11 +++++++++++
 mpq-fs.h |  2 ++
 3 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 8479930..bd5721a 100644
--- a/Makefile
+++ b/Makefile
@@ -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 = \
diff --git a/mpq-fs.c b/mpq-fs.c
index 87901a0..acc2648 100644
--- a/mpq-fs.c
+++ b/mpq-fs.c
@@ -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;
+}
diff --git a/mpq-fs.h b/mpq-fs.h
index 9d65269..4d247b6 100644
--- a/mpq-fs.h
+++ b/mpq-fs.h
@@ -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
-- 
cgit v1.2.3