From 78f47916c00d435b1034bf81496d1b5879d04a47 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 9 Jul 2001 23:33:37 +0000 Subject: [PATCH] Added more fields to the ArchiveInfo struct: author and url. --- archivers/dir.c | 4 +++- archivers/grp.c | 4 +++- archivers/zip.c | 4 +++- physfs.h | 2 ++ 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/archivers/dir.c b/archivers/dir.c index a41ab55e..a2ff55dd 100644 --- a/archivers/dir.c +++ b/archivers/dir.c @@ -328,7 +328,9 @@ const DirFunctions __PHYSFS_DirFunctions_DIR = const PHYSFS_ArchiveInfo __PHYSFS_ArchiveInfo_DIR = { "DIR", - "non-archive directory I/O" + "non-archive directory I/O", + "Ryan C. Gordon", + "http://www.icculus.org/", }; #endif diff --git a/archivers/grp.c b/archivers/grp.c index 87d78b65..a97e85a2 100644 --- a/archivers/grp.c +++ b/archivers/grp.c @@ -376,7 +376,9 @@ const DirFunctions __PHYSFS_DirFunctions_GRP = const PHYSFS_ArchiveInfo __PHYSFS_ArchiveInfo_GRP = { "GRP", - "Build engine Groupfile format" + "Build engine Groupfile format", + "Ryan C. Gordon", + "http://www.icculus.org/", }; /* end of grp.c ... */ diff --git a/archivers/zip.c b/archivers/zip.c index 2e3c158e..26e1c0f1 100644 --- a/archivers/zip.c +++ b/archivers/zip.c @@ -123,7 +123,9 @@ const DirFunctions __PHYSFS_DirFunctions_ZIP = const PHYSFS_ArchiveInfo __PHYSFS_ArchiveInfo_ZIP = { "ZIP", - "PkZip/WinZip/Info-Zip compatible" + "PkZip/WinZip/Info-Zip compatible", + "Ryan C. Gordon", + "http://www.icculus.org/", }; /* end of zip.c ... */ diff --git a/physfs.h b/physfs.h index 6f2a12f3..aa9ea665 100644 --- a/physfs.h +++ b/physfs.h @@ -151,6 +151,8 @@ typedef struct __PHYSFS_ARCHIVEINFO__ { const char *extension; const char *description; + const char *author; + const char *url; } PHYSFS_ArchiveInfo;