summaryrefslogtreecommitdiffstats
path: root/generic/tclDecls.h
diff options
context:
space:
mode:
authorhershey <hershey>1999-04-17 00:32:27 (GMT)
committerhershey <hershey>1999-04-17 00:32:27 (GMT)
commit099c93d0b49e614cfeffec26211d60d95235e2bf (patch)
treed397aeef664656316cd9691f280f0a3560670008 /generic/tclDecls.h
parent7ef335cb1b504d531a013d66e510b8c2d48945cc (diff)
downloadtcl-099c93d0b49e614cfeffec26211d60d95235e2bf.zip
tcl-099c93d0b49e614cfeffec26211d60d95235e2bf.tar.gz
tcl-099c93d0b49e614cfeffec26211d60d95235e2bf.tar.bz2
changes make Tcl_Access and Tcl_Stat public.
also one minor fix in tests/all.tcl to fix bug 1770.
Diffstat (limited to 'generic/tclDecls.h')
-rw-r--r--generic/tclDecls.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/generic/tclDecls.h b/generic/tclDecls.h
index f07ff56..78730df 100644
--- a/generic/tclDecls.h
+++ b/generic/tclDecls.h
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclDecls.h,v 1.7 1999/04/16 00:46:45 stanton Exp $
+ * RCS: @(#) $Id: tclDecls.h,v 1.8 1999/04/17 00:32:28 hershey Exp $
*/
#ifndef _TCLDECLS
@@ -1118,6 +1118,11 @@ EXTERN char * Tcl_GetCwd _ANSI_ARGS_((Tcl_Interp * interp,
Tcl_DString * cwdPtr));
/* 366 */
EXTERN int Tcl_Chdir _ANSI_ARGS_((CONST char * dirName));
+/* 367 */
+EXTERN int Tcl_Access _ANSI_ARGS_((CONST char * path, int mode));
+/* 368 */
+EXTERN int Tcl_Stat _ANSI_ARGS_((CONST char * path,
+ struct stat * bufPtr));
typedef struct TclStubHooks {
struct TclPlatStubs *tclPlatStubs;
@@ -1520,6 +1525,8 @@ typedef struct TclStubs {
int (*tcl_ParseVarName) _ANSI_ARGS_((Tcl_Interp * interp, char * string, int numBytes, Tcl_Parse * parsePtr, int append)); /* 364 */
char * (*tcl_GetCwd) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_DString * cwdPtr)); /* 365 */
int (*tcl_Chdir) _ANSI_ARGS_((CONST char * dirName)); /* 366 */
+ int (*tcl_Access) _ANSI_ARGS_((CONST char * path, int mode)); /* 367 */
+ int (*tcl_Stat) _ANSI_ARGS_((CONST char * path, struct stat * bufPtr)); /* 368 */
} TclStubs;
extern TclStubs *tclStubsPtr;
@@ -2986,6 +2993,14 @@ extern TclStubs *tclStubsPtr;
#define Tcl_Chdir \
(tclStubsPtr->tcl_Chdir) /* 366 */
#endif
+#ifndef Tcl_Access
+#define Tcl_Access \
+ (tclStubsPtr->tcl_Access) /* 367 */
+#endif
+#ifndef Tcl_Stat
+#define Tcl_Stat \
+ (tclStubsPtr->tcl_Stat) /* 368 */
+#endif
#endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */