comparison src/libmlk-core/core/vfs-zip.h @ 335:68287c7bcdb5

core: implement vfs-zip (read-only)
author David Demelier <markand@malikania.fr>
date Wed, 13 Oct 2021 15:58:02 +0200
parents
children 460c78706989
comparison
equal deleted inserted replaced
334:1d3e6108cb99 335:68287c7bcdb5
1 /*
2 * vfs-zip.h -- VFS subsystem for zip archives
3 *
4 * Copyright (c) 2020-2021 David Demelier <markand@malikania.fr>
5 *
6 * Permission to use, copy, modify, and/or distribute this software for any
7 * purpose with or without fee is hereby granted, provided that the above
8 * copyright notice and this permission notice appear in all copies.
9 *
10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 */
18
19 #ifndef MLK_CORE_VFS_ZIP_H
20 #define MLK_CORE_VFS_ZIP_H
21
22 #include "core.h"
23
24 struct vfs;
25
26 CORE_BEGIN_DECLS
27
28 int
29 vfs_zip(struct vfs *, const char *, const char *);
30
31 CORE_END_DECLS
32
33 #endif /* !MLK_CORE_VFS_ZIP_H */