SharkSSL™ Embedded SSL/TLS Stack
ZipFileSystem.h
1/*
2 * ____ _________ __ _
3 * / __ \___ ____ _/ /_ __(_)___ ___ ___ / / ____ ____ _(_)____
4 * / /_/ / _ \/ __ `/ / / / / / __ `__ \/ _ \/ / / __ \/ __ `/ / ___/
5 * / _, _/ __/ /_/ / / / / / / / / / / / __/ /___/ /_/ / /_/ / / /__
6 * /_/ |_|\___/\__,_/_/ /_/ /_/_/ /_/ /_/\___/_____/\____/\__, /_/\___/
7 * /____/
8 *
9 * SharkSSL Embedded SSL/TLS Stack
10 ****************************************************************************
11 * HEADER
12 *
13 * $Id: ZipFileSystem.h 4769 2021-06-11 17:29:36Z gianluca $
14 *
15 * COPYRIGHT: Real Time Logic LLC, 2013
16 *
17 * This software is copyrighted by and is the sole property of Real
18 * Time Logic LLC. All rights, title, ownership, or other interests in
19 * the software remain the property of Real Time Logic LLC. This
20 * software may only be used in accordance with the terms and
21 * conditions stipulated in the corresponding license agreement under
22 * which the software has been supplied. Any unauthorized use,
23 * duplication, transmission, distribution, or disclosure of this
24 * software is expressly forbidden.
25 *
26 * This Copyright notice may not be removed or modified without prior
27 * written consent of Real Time Logic LLC.
28 *
29 * Real Time Logic LLC. reserves the right to modify this software
30 * without notice.
31 *
32 * http://realtimelogic.com
33 * http://sharkssl.com
34 ****************************************************************************
35 *
36 *
37 */
38
39#ifndef _ZipFileSystem_h
40#define _ZipFileSystem_h
41
42
43#include <ZipFileIterator.h>
44#include "MSLib.h"
45
46
74typedef struct {
75 ZipReader* reader;
76 ZipContainer zc;
77 U8 buf[256];
79
80#ifdef __cplusplus
81extern "C" {
82#endif
83
133
134#ifdef __cplusplus
135}
136#endif
137
138 /* end group ZipFileSystem */
140
141#endif
int(* MSFetchPage)(void *hndl, struct MST *mst, U8 *path)
A page fetch callback function used by function MS_ebServer is typically installed when the web appli...
Definition: MSLib.h:132
MSFetchPage msInitZipFileSystem(ZipFileSystem *zfs, ZipReader *zipReader)
Initializes the ZIP File System and returns a WsFetchPage callback function.
A ZipContainer is a buffer used by a ZipIo when reading data from a ZipReader.
Definition: ZipFileIterator.h:379
The ZipFileSystem handle.
Definition: ZipFileSystem.h:74
Abstract interface class for reading a ZipFile.
Definition: ZipFileIterator.h:72