misc/libphysfs/archiver_hog.c
changeset 12218 bb5522e88ab2
parent 8524 a65e9bcf0a03
equal deleted inserted replaced
12217:ea891871f481 12218:bb5522e88ab2
    91 } /* HOG_openArchive */
    91 } /* HOG_openArchive */
    92 
    92 
    93 
    93 
    94 const PHYSFS_Archiver __PHYSFS_Archiver_HOG =
    94 const PHYSFS_Archiver __PHYSFS_Archiver_HOG =
    95 {
    95 {
       
    96     CURRENT_PHYSFS_ARCHIVER_API_VERSION,
    96     {
    97     {
    97         "HOG",
    98         "HOG",
    98         "Descent I/II HOG file format",
    99         "Descent I/II HOG file format",
    99         "Bradley Bell <btb@icculus.org>",
   100         "Bradley Bell <btb@icculus.org>",
   100         "http://icculus.org/physfs/",
   101         "https://icculus.org/physfs/",
       
   102         0,  /* supportsSymlinks */
   101     },
   103     },
   102     HOG_openArchive,         /* openArchive() method    */
   104     HOG_openArchive,
   103     UNPK_enumerateFiles,     /* enumerateFiles() method */
   105     UNPK_enumerateFiles,
   104     UNPK_openRead,           /* openRead() method       */
   106     UNPK_openRead,
   105     UNPK_openWrite,          /* openWrite() method      */
   107     UNPK_openWrite,
   106     UNPK_openAppend,         /* openAppend() method     */
   108     UNPK_openAppend,
   107     UNPK_remove,             /* remove() method         */
   109     UNPK_remove,
   108     UNPK_mkdir,              /* mkdir() method          */
   110     UNPK_mkdir,
   109     UNPK_closeArchive,       /* closeArchive() method   */
   111     UNPK_stat,
   110     UNPK_stat                /* stat() method           */
   112     UNPK_closeArchive
   111 };
   113 };
   112 
   114 
   113 #endif  /* defined PHYSFS_SUPPORTS_HOG */
   115 #endif  /* defined PHYSFS_SUPPORTS_HOG */
   114 
   116 
   115 /* end of hog.c ... */
   117 /* end of archiver_hog.c ... */
   116 
   118