Debian Codegraph @

prboom2/src/dsda/zipfile.h

raw
1 //
2 // Copyright(C) 2023 by Pierre Wendling
3 //
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 2
7 // of the License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
13 //
14 // DESCRIPTION:
15 // DSDA zipfile support using libzip
16 //
17
18 #ifndef __DSDA_ZIPFILE__
19 #define __DSDA_ZIPFILE__
20
21 const char* dsda_UnzipFile(const char *zipped_file_name);
22 const char* dsda_ReadUnzippedFile(const char *zipped_file_name);
23
24 void dsda_CleanZipTempDirs(void);
25
26 #endif /* __DSDA_ZIPFILE__ */