archivers/zip.c
changeset 21 b1ea58d70a56
parent 20 efdde0d21521
child 22 49f6101707b4
equal deleted inserted replaced
20:efdde0d21521 21:b1ea58d70a56
    54 static DirHandle *ZIP_openArchive(const char *name, int forWriting)
    54 static DirHandle *ZIP_openArchive(const char *name, int forWriting)
    55 {
    55 {
    56 } /* ZIP_openArchive */
    56 } /* ZIP_openArchive */
    57 
    57 
    58 
    58 
    59 static LinkedStringList *ZIP_enumerateFiles(DirHandle *r, const char *dirname)
    59 static LinkedStringList *ZIP_enumerateFiles(DirHandle *h, const char *dirname)
    60 {
    60 {
    61 } /* ZIP_enumerateFiles */
    61 } /* ZIP_enumerateFiles */
    62 
    62 
    63 
    63 
    64 static int ZIP_exists(DirHandle *r, const char *name)
    64 static int ZIP_exists(DirHandle *h, const char *name)
    65 {
    65 {
    66 } /* ZIP_exists */
    66 } /* ZIP_exists */
    67 
    67 
    68 
    68 
    69 static int ZIP_isDirectory(DirHandle *r, const char *name)
    69 static int ZIP_isDirectory(DirHandle *h, const char *name)
    70 {
    70 {
    71 } /* ZIP_isDirectory */
    71 } /* ZIP_isDirectory */
    72 
    72 
    73 
    73 
    74 static int ZIP_isSymLink(DirHandle *r, const char *name)
    74 static int ZIP_isSymLink(DirHandle *h, const char *name)
    75 {
    75 {
    76 } /* ZIP_isSymLink */
    76 } /* ZIP_isSymLink */
    77 
    77 
    78 
    78 
    79 static FileHandle *ZIP_openRead(DirHandle *r, const char *filename)
    79 static FileHandle *ZIP_openRead(DirHandle *h, const char *filename)
    80 {
    80 {
    81 } /* ZIP_openRead */
    81 } /* ZIP_openRead */
    82 
    82 
    83 
    83 
    84 static void ZIP_dirClose(DirHandle *r)
    84 static void ZIP_dirClose(DirHandle *h)
    85 {
    85 {
    86 } /* ZIP_dirClose */
    86 } /* ZIP_dirClose */
    87 
    87 
    88 
    88 
    89 static const FileFunctions __PHYSFS_FileHandle_ZIP =
    89 static const FileFunctions __PHYSFS_FileFunctions_ZIP =
    90 {
    90 {
    91     ZIP_read,       /* read() method  */
    91     ZIP_read,       /* read() method  */
    92     NULL,           /* write() method */
    92     NULL,           /* write() method */
    93     ZIP_eof,        /* eof() method   */
    93     ZIP_eof,        /* eof() method   */
    94     ZIP_tell,       /* tell() method  */
    94     ZIP_tell,       /* tell() method  */