From 7be11ab27d9ff0e03e1b6e7df7d3cb546cd08401 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sat, 7 Jul 2001 03:47:13 +0000 Subject: [PATCH] Updated to latest driver spec. --- dir.c | 7 +++++-- zip.c | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/dir.c b/dir.c index 235f9b6b..54e7b3b5 100644 --- a/dir.c +++ b/dir.c @@ -39,12 +39,15 @@ const DirFunctions __PHYSFS_DirFunctions_DIR = DIR_isArchive, /* isArchive() method */ DIR_openArchive, /* openArchive() method */ DIR_enumerate, /* enumerateFiles() method */ + DIR_exists, /* exists() method */ DIR_isDirectory, /* isDirectory() method */ DIR_isSymLink, /* isSymLink() method */ - DIR_isOpenable, /* isOpenable() method */ DIR_openRead, /* openRead() method */ DIR_openWrite, /* openWrite() method */ - DIR_dirClose, /* close() method */ + DIR_openAppend, /* openAppend() method */ + DIR_remove, /* remove() method */ + DIR_mkdir, /* mkdir() method */ + DIR_close, /* close() method */ }; diff --git a/zip.c b/zip.c index 77ba29c5..c1f5d87a 100644 --- a/zip.c +++ b/zip.c @@ -33,12 +33,15 @@ const DirFunctions __PHYSFS_DirFunctions_ZIP = ZIP_isArchive, /* isArchive() method */ ZIP_openArchive, /* openArchive() method */ ZIP_enumerate, /* enumerateFiles() method */ + ZIP_exists, /* exists() method */ ZIP_isDirectory, /* isDirectory() method */ ZIP_isSymLink, /* isSymLink() method */ - ZIP_isOpenable, /* isOpenable() method */ ZIP_openRead, /* openRead() method */ NULL, /* openWrite() method */ - ZIP_dirClose, /* close() method */ + NULL, /* openAppend() method */ + NULL, /* remove() method */ + NULL, /* mkdir() method */ + ZIP_close, /* close() method */ }; const __PHYSFS_ArchiveInfo __PHYSFS_ArchiveInfo_ZIP =