tclPathObj.c File Reference

#include "tclInt.h"
#include "tclFileSystem.h"

Go to the source code of this file.

Data Structures

struct  FsPath

Defines

#define TCLPATH_APPENDED   1
#define PATHOBJ(pathPtr)   ((FsPath *) (pathPtr)->internalRep.otherValuePtr)
#define SETPATHOBJ(pathPtr, fsPathPtr)   ((pathPtr)->internalRep.otherValuePtr = (VOID *) (fsPathPtr))
#define PATHFLAGS(pathPtr)   (PATHOBJ(pathPtr)->flags)

Functions

Tcl_ObjTclFSNormalizeAbsolutePath (Tcl_Interp *interp, Tcl_Obj *pathPtr, ClientData *clientDataPtr)
Tcl_PathType Tcl_FSGetPathType (Tcl_Obj *pathPtr)
Tcl_PathType TclFSGetPathType (Tcl_Obj *pathPtr, Tcl_Filesystem **filesystemPtrPtr, int *driveNameLengthPtr)
Tcl_ObjTclPathPart (Tcl_Interp *interp, Tcl_Obj *pathPtr, Tcl_PathPart portion)
Tcl_ObjTcl_FSJoinPath (Tcl_Obj *listObj, int elements)
int Tcl_FSConvertToPathType (Tcl_Interp *interp, Tcl_Obj *pathPtr)
Tcl_ObjTclNewFSPathObj (Tcl_Obj *dirPtr, const char *addStrRep, int len)
Tcl_ObjTclFSMakePathRelative (Tcl_Interp *interp, Tcl_Obj *pathPtr, Tcl_Obj *cwdPtr)
int TclFSMakePathFromNormalized (Tcl_Interp *interp, Tcl_Obj *pathPtr, ClientData nativeRep)
Tcl_ObjTcl_FSNewNativePath (Tcl_Filesystem *fromFilesystem, ClientData clientData)
Tcl_ObjTcl_FSGetTranslatedPath (Tcl_Interp *interp, Tcl_Obj *pathPtr)
const char * Tcl_FSGetTranslatedStringPath (Tcl_Interp *interp, Tcl_Obj *pathPtr)
Tcl_ObjTcl_FSGetNormalizedPath (Tcl_Interp *interp, Tcl_Obj *pathPtr)
ClientData Tcl_FSGetInternalRep (Tcl_Obj *pathPtr, Tcl_Filesystem *fsPtr)
int TclFSEnsureEpochOk (Tcl_Obj *pathPtr, Tcl_Filesystem **fsPtrPtr)
void TclFSSetPathDetails (Tcl_Obj *pathPtr, FilesystemRecord *fsRecPtr, ClientData clientData)
int Tcl_FSEqualPaths (Tcl_Obj *firstPtr, Tcl_Obj *secondPtr)
int TclNativePathInFilesystem (Tcl_Obj *pathPtr, ClientData *clientDataPtr)


Define Documentation

#define SETPATHOBJ ( pathPtr,
fsPathPtr   )     ((pathPtr)->internalRep.otherValuePtr = (VOID *) (fsPathPtr))

#define TCLPATH_APPENDED   1

Definition at line 105 of file tclPathObj.c.

Referenced by TclNewFSPathObj().


Function Documentation

int Tcl_FSEqualPaths ( Tcl_Obj firstPtr,
Tcl_Obj secondPtr 
)

Tcl_PathType Tcl_FSGetPathType ( Tcl_Obj pathPtr  ) 

const char* Tcl_FSGetTranslatedStringPath ( Tcl_Interp interp,
Tcl_Obj pathPtr 
)

int TclFSEnsureEpochOk ( Tcl_Obj pathPtr,
Tcl_Filesystem **  fsPtrPtr 
)

Tcl_PathType TclFSGetPathType ( Tcl_Obj pathPtr,
Tcl_Filesystem **  filesystemPtrPtr,
int *  driveNameLengthPtr 
)

void TclFSSetPathDetails ( Tcl_Obj pathPtr,
FilesystemRecord fsRecPtr,
ClientData  clientData 
)

int TclNativePathInFilesystem ( Tcl_Obj pathPtr,
ClientData *  clientDataPtr 
)

Definition at line 2647 of file tclPathObj.c.

References Tcl_Obj::bytes, Tcl_GetStringFromObj(), TCL_OK, and Tcl_Obj::typePtr.



Generated on Wed Mar 12 12:18:33 2008 by  doxygen 1.5.1