/[winpt]/trunk/PTD/wptZIP.h
ViewVC logotype

Contents of /trunk/PTD/wptZIP.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 305 - (show annotations)
Fri Mar 23 11:32:28 2007 UTC (17 years, 11 months ago) by twoaday
File MIME type: text/plain
File size: 1131 byte(s)


1 /* wptZIP.h - Interface for the ZIP file format
2 * Copyright (C) 2002, 2007 Timo Schulz
3 *
4 * This file is part of WinPT.
5 *
6 * WinPT is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * WinPT is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 */
16
17 #ifndef WPT_ZIP_H
18 #define WPT_ZIP_H
19
20 enum zip_err_t {
21 PKERR_SUCCESS = 0,
22 PKERR_INV_FILE = -1,
23 PKERR_FILE = -2,
24 PKERR_GENERAL = -3
25 };
26
27
28 struct PK_file_list;
29 typedef struct PK_file_list *PK_FILE_LIST;
30
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34
35 int pk_archiv_parse (FILE *in);
36 int pk_archiv_create (PK_FILE_LIST list, const char *output);
37 void pk_list_add (PK_FILE_LIST *list, const char *name);
38 void pk_list_free (PK_FILE_LIST ist);
39
40 #ifdef __cplusplus
41 }
42 #endif
43
44 #endif /*WPT_ZIP_H*/

Properties

Name Value
svn:eol-style native

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26