diff -Naur MythTV-mythtv-6970413/mythplugins/mythgame/mythgame/unzip.c MythTV-mythtv-6970413.new/mythplugins/mythgame/mythgame/unzip.c
old
|
new
|
|
493 | 493 | /* |
494 | 494 | Get Info about the current file in the zipfile, with internal only info |
495 | 495 | */ |
496 | | local int unzlocal_GetCurrentFileInfoInternal OF((unzFile file, |
| 496 | local int unzlocal_GetCurrentFileInfoInternal _Z_OF((unzFile file, |
497 | 497 | unz_file_info *pfile_info, |
498 | 498 | unz_file_info_internal |
499 | 499 | *pfile_info_internal, |
diff -Naur MythTV-mythtv-6970413/mythplugins/mythgame/mythgame/unzip.h MythTV-mythtv-6970413.new/mythplugins/mythgame/mythgame/unzip.h
old
|
new
|
|
111 | 111 | tm_unz tmu_date; |
112 | 112 | } unz_file_info; |
113 | 113 | |
114 | | extern int ZEXPORT unzStringFileNameCompare OF ((const char* fileName1, |
| 114 | extern int ZEXPORT unzStringFileNameCompare _Z_OF ((const char* fileName1, |
115 | 115 | const char* fileName2, |
116 | 116 | int iCaseSensitivity)); |
117 | 117 | /* |
… |
… |
|
124 | 124 | */ |
125 | 125 | |
126 | 126 | |
127 | | extern unzFile ZEXPORT unzOpen OF((const char *path)); |
| 127 | extern unzFile ZEXPORT unzOpen _Z_OF((const char *path)); |
128 | 128 | /* |
129 | 129 | Open a Zip file. path contain the full pathname (by example, |
130 | 130 | on a Windows NT computer "c:\\zlib\\zlib111.zip" or on an Unix computer |
… |
… |
|
135 | 135 | of this unzip package. |
136 | 136 | */ |
137 | 137 | |
138 | | extern int ZEXPORT unzClose OF((unzFile file)); |
| 138 | extern int ZEXPORT unzClose _Z_OF((unzFile file)); |
139 | 139 | /* |
140 | 140 | Close a ZipFile opened with unzipOpen. |
141 | 141 | If there is files inside the .Zip opened with unzOpenCurrentFile (see later), |
142 | 142 | these files MUST be closed with unzipCloseCurrentFile before call unzipClose. |
143 | 143 | return UNZ_OK if there is no problem. */ |
144 | 144 | |
145 | | extern int ZEXPORT unzGetGlobalInfo OF((unzFile file, |
| 145 | extern int ZEXPORT unzGetGlobalInfo _Z_OF((unzFile file, |
146 | 146 | unz_global_info *pglobal_info)); |
147 | 147 | /* |
148 | 148 | Write info about the ZipFile in the *pglobal_info structure. |
… |
… |
|
150 | 150 | return UNZ_OK if there is no problem. */ |
151 | 151 | |
152 | 152 | |
153 | | extern int ZEXPORT unzGetGlobalComment OF((unzFile file, |
| 153 | extern int ZEXPORT unzGetGlobalComment _Z_OF((unzFile file, |
154 | 154 | char *szComment, |
155 | 155 | uLong uSizeBuf)); |
156 | 156 | /* |
… |
… |
|
163 | 163 | /***************************************************************************/ |
164 | 164 | /* Unzip package allow you browse the directory of the zipfile */ |
165 | 165 | |
166 | | extern int ZEXPORT unzGoToFirstFile OF((unzFile file)); |
| 166 | extern int ZEXPORT unzGoToFirstFile _Z_OF((unzFile file)); |
167 | 167 | /* |
168 | 168 | Set the current file of the zipfile to the first file. |
169 | 169 | return UNZ_OK if there is no problem |
170 | 170 | */ |
171 | 171 | |
172 | | extern int ZEXPORT unzGoToNextFile OF((unzFile file)); |
| 172 | extern int ZEXPORT unzGoToNextFile _Z_OF((unzFile file)); |
173 | 173 | /* |
174 | 174 | Set the current file of the zipfile to the next file. |
175 | 175 | return UNZ_OK if there is no problem |
176 | 176 | return UNZ_END_OF_LIST_OF_FILE if the actual file was the latest. |
177 | 177 | */ |
178 | 178 | |
179 | | extern int ZEXPORT unzLocateFile OF((unzFile file, |
| 179 | extern int ZEXPORT unzLocateFile _Z_OF((unzFile file, |
180 | 180 | const char *szFileName, |
181 | 181 | int iCaseSensitivity)); |
182 | 182 | /* |
… |
… |
|
189 | 189 | */ |
190 | 190 | |
191 | 191 | |
192 | | extern int ZEXPORT unzGetCurrentFileInfo OF((unzFile file, |
| 192 | extern int ZEXPORT unzGetCurrentFileInfo _Z_OF((unzFile file, |
193 | 193 | unz_file_info *pfile_info, |
194 | 194 | char *szFileName, |
195 | 195 | uLong fileNameBufferSize, |
… |
… |
|
215 | 215 | from it, and close it (you can close it before reading all the file) |
216 | 216 | */ |
217 | 217 | |
218 | | extern int ZEXPORT unzOpenCurrentFile OF((unzFile file)); |
| 218 | extern int ZEXPORT unzOpenCurrentFile _Z_OF((unzFile file)); |
219 | 219 | /* |
220 | 220 | Open for reading data the current file in the zipfile. |
221 | 221 | If there is no error, the return value is UNZ_OK. |
222 | 222 | */ |
223 | 223 | |
224 | | extern int ZEXPORT unzCloseCurrentFile OF((unzFile file)); |
| 224 | extern int ZEXPORT unzCloseCurrentFile _Z_OF((unzFile file)); |
225 | 225 | /* |
226 | 226 | Close the file in zip opened with unzOpenCurrentFile |
227 | 227 | Return UNZ_CRCERROR if all the file was read but the CRC is not good |
228 | 228 | */ |
229 | 229 | |
230 | | extern int ZEXPORT unzReadCurrentFile OF((unzFile file, |
| 230 | extern int ZEXPORT unzReadCurrentFile _Z_OF((unzFile file, |
231 | 231 | voidp buf, |
232 | 232 | unsigned len)); |
233 | 233 | /* |
… |
… |
|
241 | 241 | (UNZ_ERRNO for IO error, or zLib error for uncompress error) |
242 | 242 | */ |
243 | 243 | |
244 | | extern z_off_t ZEXPORT unztell OF((unzFile file)); |
| 244 | extern z_off_t ZEXPORT unztell _Z_OF((unzFile file)); |
245 | 245 | /* |
246 | 246 | Give the current position in uncompressed data |
247 | 247 | */ |
248 | 248 | |
249 | | extern int ZEXPORT unzeof OF((unzFile file)); |
| 249 | extern int ZEXPORT unzeof _Z_OF((unzFile file)); |
250 | 250 | /* |
251 | 251 | return 1 if the end of file was reached, 0 elsewhere |
252 | 252 | */ |
253 | 253 | |
254 | | extern int ZEXPORT unzGetLocalExtrafield OF((unzFile file, voidp buf, |
| 254 | extern int ZEXPORT unzGetLocalExtrafield _Z_OF((unzFile file, voidp buf, |
255 | 255 | unsigned len)); |
256 | 256 | /* |
257 | 257 | Read extra field from the current file (opened by unzOpenCurrentFile) |