summaryrefslogtreecommitdiffstats
path: root/generic/tclZipfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclZipfs.c')
-rw-r--r--generic/tclZipfs.c62
1 files changed, 31 insertions, 31 deletions
diff --git a/generic/tclZipfs.c b/generic/tclZipfs.c
index 4864a43..0f06d37 100644
--- a/generic/tclZipfs.c
+++ b/generic/tclZipfs.c
@@ -361,7 +361,7 @@ static inline int DescribeMounted(Tcl_Interp *interp,
static inline int ListMountPoints(Tcl_Interp *interp);
static int ZipfsAppHookFindTclInit(const char *archive);
static int ZipFSPathInFilesystemProc(Tcl_Obj *pathPtr,
- ClientData *clientDataPtr);
+ void **clientDataPtr);
static Tcl_Obj * ZipFSFilesystemPathTypeProc(Tcl_Obj *pathPtr);
static Tcl_Obj * ZipFSFilesystemSeparatorProc(Tcl_Obj *pathPtr);
static int ZipFSStatProc(Tcl_Obj *pathPtr, Tcl_StatBuf *buf);
@@ -382,17 +382,17 @@ static int ZipFSLoadFile(Tcl_Interp *interp, Tcl_Obj *path,
Tcl_LoadHandle *loadHandle,
Tcl_FSUnloadFileProc **unloadProcPtr, int flags);
static void ZipfsSetup(void);
-static int ZipChannelClose(ClientData instanceData,
+static int ZipChannelClose(void *instanceData,
Tcl_Interp *interp);
-static int ZipChannelGetFile(ClientData instanceData,
- int direction, ClientData *handlePtr);
-static int ZipChannelRead(ClientData instanceData, char *buf,
+static int ZipChannelGetFile(void *instanceData,
+ int direction, void **handlePtr);
+static int ZipChannelRead(void *instanceData, char *buf,
int toRead, int *errloc);
-static int ZipChannelSeek(ClientData instanceData, long offset,
+static int ZipChannelSeek(void *instanceData, long offset,
int mode, int *errloc);
-static void ZipChannelWatchChannel(ClientData instanceData,
+static void ZipChannelWatchChannel(void *instanceData,
int mask);
-static int ZipChannelWrite(ClientData instanceData,
+static int ZipChannelWrite(void *instanceData,
const char *buf, int toWrite, int *errloc);
/*
@@ -1094,7 +1094,7 @@ ZipFSOpenArchive(
ZipFile *zf)
{
size_t i;
- ClientData handle;
+ void *handle;
zf->nameLength = 0;
zf->isMemBuffer = 0;
@@ -1867,7 +1867,7 @@ TclZipfs_Unmount(
static int
ZipFSMountObjCmd(
- ClientData clientData, /* Not used. */
+ void *clientData, /* Not used. */
Tcl_Interp *interp, /* Current interpreter. */
int objc, /* Number of arguments. */
Tcl_Obj *const objv[]) /* Argument objects. */
@@ -1901,7 +1901,7 @@ ZipFSMountObjCmd(
static int
ZipFSMountBufferObjCmd(
- ClientData clientData, /* Not used. */
+ void *clientData, /* Not used. */
Tcl_Interp *interp, /* Current interpreter. */
int objc, /* Number of arguments. */
Tcl_Obj *const objv[]) /* Argument objects. */
@@ -1953,7 +1953,7 @@ ZipFSMountBufferObjCmd(
static int
ZipFSRootObjCmd(
- ClientData clientData, /* Not used. */
+ void *clientData, /* Not used. */
Tcl_Interp *interp, /* Current interpreter. */
int objc, /* Number of arguments. */
Tcl_Obj *const objv[]) /* Argument objects. */
@@ -1980,7 +1980,7 @@ ZipFSRootObjCmd(
static int
ZipFSUnmountObjCmd(
- ClientData clientData, /* Not used. */
+ void *clientData, /* Not used. */
Tcl_Interp *interp, /* Current interpreter. */
int objc, /* Number of arguments. */
Tcl_Obj *const objv[]) /* Argument objects. */
@@ -2011,7 +2011,7 @@ ZipFSUnmountObjCmd(
static int
ZipFSMkKeyObjCmd(
- ClientData clientData, /* Not used. */
+ void *clientData, /* Not used. */
Tcl_Interp *interp, /* Current interpreter. */
int objc, /* Number of arguments. */
Tcl_Obj *const objv[]) /* Argument objects. */
@@ -2790,7 +2790,7 @@ ZipFSMkZipOrImgObjCmd(
static int
ZipFSMkZipObjCmd(
- ClientData clientData, /* Not used. */
+ void *clientData, /* Not used. */
Tcl_Interp *interp, /* Current interpreter. */
int objc, /* Number of arguments. */
Tcl_Obj *const objv[]) /* Argument objects. */
@@ -2810,7 +2810,7 @@ ZipFSMkZipObjCmd(
static int
ZipFSLMkZipObjCmd(
- ClientData clientData, /* Not used. */
+ void *clientData, /* Not used. */
Tcl_Interp *interp, /* Current interpreter. */
int objc, /* Number of arguments. */
Tcl_Obj *const objv[]) /* Argument objects. */
@@ -2847,7 +2847,7 @@ ZipFSLMkZipObjCmd(
static int
ZipFSMkImgObjCmd(
- ClientData clientData, /* Not used. */
+ void *clientData, /* Not used. */
Tcl_Interp *interp, /* Current interpreter. */
int objc, /* Number of arguments. */
Tcl_Obj *const objv[]) /* Argument objects. */
@@ -2868,7 +2868,7 @@ ZipFSMkImgObjCmd(
static int
ZipFSLMkImgObjCmd(
- ClientData clientData, /* Not used. */
+ void *clientData, /* Not used. */
Tcl_Interp *interp, /* Current interpreter. */
int objc, /* Number of arguments. */
Tcl_Obj *const objv[]) /* Argument objects. */
@@ -2905,7 +2905,7 @@ ZipFSLMkImgObjCmd(
static int
ZipFSCanonicalObjCmd(
- ClientData clientData, /* Not used. */
+ void *clientData, /* Not used. */
Tcl_Interp *interp, /* Current interpreter. */
int objc, /* Number of arguments. */
Tcl_Obj *const objv[]) /* Argument objects. */
@@ -2961,7 +2961,7 @@ ZipFSCanonicalObjCmd(
static int
ZipFSExistsObjCmd(
- ClientData clientData, /* Not used. */
+ void *clientData, /* Not used. */
Tcl_Interp *interp, /* Current interpreter. */
int objc, /* Number of arguments. */
Tcl_Obj *const objv[]) /* Argument objects. */
@@ -3014,7 +3014,7 @@ ZipFSExistsObjCmd(
static int
ZipFSInfoObjCmd(
- ClientData clientData, /* Not used. */
+ void *clientData, /* Not used. */
Tcl_Interp *interp, /* Current interpreter. */
int objc, /* Number of arguments. */
Tcl_Obj *const objv[]) /* Argument objects. */
@@ -3064,7 +3064,7 @@ ZipFSInfoObjCmd(
static int
ZipFSListObjCmd(
- ClientData clientData, /* Not used. */
+ void *clientData, /* Not used. */
Tcl_Interp *interp, /* Current interpreter. */
int objc, /* Number of arguments. */
Tcl_Obj *const objv[]) /* Argument objects. */
@@ -3279,7 +3279,7 @@ TclZipfs_TclLibrary(void)
static int
ZipFSTclLibraryObjCmd(
- ClientData clientData, /* Not used. */
+ void *clientData, /* Not used. */
Tcl_Interp *interp, /* Current interpreter. */
int objc, /* Number of arguments. */
Tcl_Obj *const objv[]) /* Argument objects. */
@@ -3313,7 +3313,7 @@ ZipFSTclLibraryObjCmd(
static int
ZipChannelClose(
- ClientData instanceData,
+ void *instanceData,
Tcl_Interp *interp) /* Current interpreter. */
{
ZipChannel *info = instanceData;
@@ -3371,7 +3371,7 @@ ZipChannelClose(
static int
ZipChannelRead(
- ClientData instanceData,
+ void *instanceData,
char *buf,
int toRead,
int *errloc)
@@ -3444,7 +3444,7 @@ ZipChannelRead(
static int
ZipChannelWrite(
- ClientData instanceData,
+ void *instanceData,
const char *buf,
int toWrite,
int *errloc)
@@ -3491,7 +3491,7 @@ ZipChannelWrite(
static int
ZipChannelSeek(
- ClientData instanceData,
+ void *instanceData,
long offset,
int mode,
int *errloc)
@@ -3563,7 +3563,7 @@ ZipChannelSeek(
static void
ZipChannelWatchChannel(
- ClientData instanceData,
+ void *instanceData,
int mask)
{
return;
@@ -3588,9 +3588,9 @@ ZipChannelWatchChannel(
static int
ZipChannelGetFile(
- ClientData instanceData,
+ void *instanceData,
int direction,
- ClientData *handlePtr)
+ void **handlePtr)
{
return TCL_ERROR;
}
@@ -4335,7 +4335,7 @@ ZipFSMatchInDirectoryProc(
static int
ZipFSPathInFilesystemProc(
Tcl_Obj *pathPtr,
- ClientData *clientDataPtr)
+ void **clientDataPtr)
{
Tcl_HashEntry *hPtr;
Tcl_HashSearch search;