}
}
-int
+static int
VfsAccess(pathPtr, mode)
Tcl_Obj *pathPtr; /* Path of file to access (in current CP). */
int mode; /* Permission setting. */
}
}
-Tcl_Channel
+static Tcl_Channel
VfsOpenFileChannel(cmdInterp, pathPtr, modeString, permissions)
Tcl_Interp *cmdInterp; /* Interpreter for error reporting;
* can be NULL. */
* entire contents of the channel and, say, compress it for storage
* into a tclkit or zip archive.
*/
-void
+static void
VfsCloseProc(ClientData clientData) {
VfsChannelCleanupInfo * channelRet = (VfsChannelCleanupInfo*) clientData;
Tcl_SavedResult savedResult;
ckfree((char*)channelRet);
}
-int
+static int
VfsMatchInDirectory(
Tcl_Interp *cmdInterp, /* Interpreter to receive error msgs. */
Tcl_Obj *returnPtr, /* Object to receive results. */
return returnVal;
}
-int
+static int
VfsDeleteFile(
Tcl_Obj *pathPtr) /* Pathname of file to be removed (UTF-8). */
{
return returnVal;
}
-int
+static int
VfsCreateDirectory(
Tcl_Obj *pathPtr) /* Pathname of directory to create (UTF-8). */
{
return returnVal;
}
-int
+static int
VfsRemoveDirectory(
Tcl_Obj *pathPtr, /* Pathname of directory to be removed
* (UTF-8). */
return returnVal;
}
-char**
+static char**
VfsFileAttrStrings(pathPtr, objPtrRef)
Tcl_Obj* pathPtr;
Tcl_Obj** objPtrRef;
return NULL;
}
-int
+static int
VfsFileAttrsGet(cmdInterp, index, pathPtr, objPtrRef)
Tcl_Interp *cmdInterp; /* The interpreter for error reporting. */
int index; /* index of the attribute command. */
return returnVal;
}
-int
+static int
VfsFileAttrsSet(cmdInterp, index, pathPtr, objPtr)
Tcl_Interp *cmdInterp; /* The interpreter for error reporting. */
int index; /* index of the attribute command. */
return returnVal;
}
-int
+static int
VfsUtime(pathPtr, tval)
Tcl_Obj* pathPtr;
struct utimbuf *tval;
return returnVal;
}
-Tcl_Obj*
+static Tcl_Obj*
VfsListVolumes(void)
{
Tcl_Obj *retVal;
return retVal;
}
-void
+static void
Vfs_AddVolume(volume)
Tcl_Obj *volume;
{
Tcl_MutexUnlock(&vfsVolumesMutex);
}
-int
+static int
Vfs_RemoveVolume(volume)
Tcl_Obj *volume;
{
return mountCmd;
}
-static
-void VfsExitProc(ClientData clientData)
+static void
+VfsExitProc(ClientData clientData)
{
Tcl_FSUnregister(&vfsFilesystem);
/*