diff options
author | sebres <sebres@users.sourceforge.net> | 2018-05-25 15:04:27 (GMT) |
---|---|---|
committer | sebres <sebres@users.sourceforge.net> | 2018-05-25 15:04:27 (GMT) |
commit | a0290b85c51fde9541564338e5b7908153f0cc96 (patch) | |
tree | 01ea1a2355bdc1ab4b1d2773b2fa8d1f06f35259 /win/tclWinInt.h | |
parent | 8145564d30cd9452a2a45816275979f61d9806f1 (diff) | |
download | tcl-a0290b85c51fde9541564338e5b7908153f0cc96.zip tcl-a0290b85c51fde9541564338e5b7908153f0cc96.tar.gz tcl-a0290b85c51fde9541564338e5b7908153f0cc96.tar.bz2 |
optimized winapi-stubs loading (8.5th only); if user name specified without domain and equals the current user - try safest and fastest way to get current user-home path (without usage of netapi)
Diffstat (limited to 'win/tclWinInt.h')
-rw-r--r-- | win/tclWinInt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/win/tclWinInt.h b/win/tclWinInt.h index ccf48bb..af6619f 100644 --- a/win/tclWinInt.h +++ b/win/tclWinInt.h @@ -201,6 +201,8 @@ MODULE_SCOPE void * TclpGetAllocCache(void); MODULE_SCOPE void TclpSetAllocCache(void *); #endif /* TCL_THREADS */ +MODULE_SCOPE const char*TclpGetUserName(Tcl_DString *bufferPtr); + /* Needed by tclWinFile.c and tclWinFCmd.c */ #ifndef FILE_ATTRIBUTE_REPARSE_POINT #define FILE_ATTRIBUTE_REPARSE_POINT 0x00000400 |