summaryrefslogtreecommitdiffstats
path: root/generic/tclZipfs.h
blob: f7da3bdc9d4f9d944cd2235f89df7053e3b6c312 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*
 * tclZipfs.h --
 *
 *	This header file describes the interface of the ZIPFS filesystem
 *
 * Copyright (c) 2013-2015 Christian Werner <chw@ch-werner.de>
 *
 * See the file "license.terms" for information on usage and redistribution of
 * this file, and for a DISCLAIMER OF ALL WARRANTIES.
 */

#ifndef _ZIPFS_H
#define _ZIPFS_H

#include "tcl.h"

#ifdef __cplusplus
extern "C" {
#endif

#ifndef ZIPFSAPI
#   define ZIPFSAPI extern
#endif

#ifdef BUILD_tcl
#   undef ZIPFSAPI
#   define ZIPFSAPI DLLEXPORT
#endif

ZIPFSAPI int TclZipfs_Mount(Tcl_Interp *interp, const char *zipname,
			 const char *mntpt, const char *passwd);
ZIPFSAPI int TclZipfs_Unmount(Tcl_Interp *interp, const char *zipname);
ZIPFSAPI int TclZipfs_Init(Tcl_Interp *interp);
ZIPFSAPI int TclZipfs_SafeInit(Tcl_Interp *interp);

#ifdef __cplusplus
}
#endif

#endif /* _ZIPFS_H */

/*
 * Local Variables:
 * mode: c
 * c-basic-offset: 4
 * fill-column: 78
 * End:
 */