1/*
2 * tclIntPlatDecls.h --
3 *
4 *	This file contains the declarations for all platform dependent
5 *	unsupported functions that are exported by the Tcl library.  These
6 *	interfaces are not guaranteed to remain the same between
7 *	versions.  Use at your own risk.
8 *
9 * Copyright (c) 1998-1999 by Scriptics Corporation.
10 * All rights reserved.
11 *
12 * RCS: @(#) $Id: tclIntPlatDecls.h,v 1.32.2.3 2010/02/07 22:16:54 nijtmans Exp $
13 */
14
15#ifndef _TCLINTPLATDECLS
16#define _TCLINTPLATDECLS
17
18#undef TCL_STORAGE_CLASS
19#ifdef BUILD_tcl
20#   define TCL_STORAGE_CLASS DLLEXPORT
21#else
22#   ifdef USE_TCL_STUBS
23#      define TCL_STORAGE_CLASS
24#   else
25#      define TCL_STORAGE_CLASS DLLIMPORT
26#   endif
27#endif
28
29/*
30 * WARNING: This file is automatically generated by the tools/genStubs.tcl
31 * script.  Any modifications to the function declarations below should be made
32 * in the generic/tclInt.decls script.
33 */
34
35/* !BEGIN!: Do not edit below this line. */
36
37/*
38 * Exported function declarations:
39 */
40
41#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */
42#ifndef TclGetAndDetachPids_TCL_DECLARED
43#define TclGetAndDetachPids_TCL_DECLARED
44/* 0 */
45EXTERN void		TclGetAndDetachPids(Tcl_Interp *interp,
46				Tcl_Channel chan);
47#endif
48#ifndef TclpCloseFile_TCL_DECLARED
49#define TclpCloseFile_TCL_DECLARED
50/* 1 */
51EXTERN int		TclpCloseFile(TclFile file);
52#endif
53#ifndef TclpCreateCommandChannel_TCL_DECLARED
54#define TclpCreateCommandChannel_TCL_DECLARED
55/* 2 */
56EXTERN Tcl_Channel	TclpCreateCommandChannel(TclFile readFile,
57				TclFile writeFile, TclFile errorFile,
58				int numPids, Tcl_Pid *pidPtr);
59#endif
60#ifndef TclpCreatePipe_TCL_DECLARED
61#define TclpCreatePipe_TCL_DECLARED
62/* 3 */
63EXTERN int		TclpCreatePipe(TclFile *readPipe, TclFile *writePipe);
64#endif
65#ifndef TclpCreateProcess_TCL_DECLARED
66#define TclpCreateProcess_TCL_DECLARED
67/* 4 */
68EXTERN int		TclpCreateProcess(Tcl_Interp *interp, int argc,
69				CONST char **argv, TclFile inputFile,
70				TclFile outputFile, TclFile errorFile,
71				Tcl_Pid *pidPtr);
72#endif
73/* Slot 5 is reserved */
74#ifndef TclpMakeFile_TCL_DECLARED
75#define TclpMakeFile_TCL_DECLARED
76/* 6 */
77EXTERN TclFile		TclpMakeFile(Tcl_Channel channel, int direction);
78#endif
79#ifndef TclpOpenFile_TCL_DECLARED
80#define TclpOpenFile_TCL_DECLARED
81/* 7 */
82EXTERN TclFile		TclpOpenFile(CONST char *fname, int mode);
83#endif
84#ifndef TclUnixWaitForFile_TCL_DECLARED
85#define TclUnixWaitForFile_TCL_DECLARED
86/* 8 */
87EXTERN int		TclUnixWaitForFile(int fd, int mask, int timeout);
88#endif
89#ifndef TclpCreateTempFile_TCL_DECLARED
90#define TclpCreateTempFile_TCL_DECLARED
91/* 9 */
92EXTERN TclFile		TclpCreateTempFile(CONST char *contents);
93#endif
94#ifndef TclpReaddir_TCL_DECLARED
95#define TclpReaddir_TCL_DECLARED
96/* 10 */
97EXTERN Tcl_DirEntry *	TclpReaddir(DIR *dir);
98#endif
99#ifndef TclpLocaltime_unix_TCL_DECLARED
100#define TclpLocaltime_unix_TCL_DECLARED
101/* 11 */
102EXTERN struct tm *	TclpLocaltime_unix(CONST time_t *clock);
103#endif
104#ifndef TclpGmtime_unix_TCL_DECLARED
105#define TclpGmtime_unix_TCL_DECLARED
106/* 12 */
107EXTERN struct tm *	TclpGmtime_unix(CONST time_t *clock);
108#endif
109#ifndef TclpInetNtoa_TCL_DECLARED
110#define TclpInetNtoa_TCL_DECLARED
111/* 13 */
112EXTERN char *		TclpInetNtoa(struct in_addr addr);
113#endif
114#ifndef TclUnixCopyFile_TCL_DECLARED
115#define TclUnixCopyFile_TCL_DECLARED
116/* 14 */
117EXTERN int		TclUnixCopyFile(CONST char *src, CONST char *dst,
118				CONST Tcl_StatBuf *statBufPtr,
119				int dontCopyAtts);
120#endif
121#endif /* UNIX */
122#ifdef __WIN32__ /* WIN */
123#ifndef TclWinConvertError_TCL_DECLARED
124#define TclWinConvertError_TCL_DECLARED
125/* 0 */
126EXTERN void		TclWinConvertError(unsigned long errCode);
127#endif
128#ifndef TclWinConvertWSAError_TCL_DECLARED
129#define TclWinConvertWSAError_TCL_DECLARED
130/* 1 */
131EXTERN void		TclWinConvertWSAError(unsigned long errCode);
132#endif
133#ifndef TclWinGetServByName_TCL_DECLARED
134#define TclWinGetServByName_TCL_DECLARED
135/* 2 */
136EXTERN struct servent *	 TclWinGetServByName(CONST char *nm,
137				CONST char *proto);
138#endif
139#ifndef TclWinGetSockOpt_TCL_DECLARED
140#define TclWinGetSockOpt_TCL_DECLARED
141/* 3 */
142EXTERN int		TclWinGetSockOpt(int s, int level, int optname,
143				char FAR *optval, int FAR *optlen);
144#endif
145#ifndef TclWinGetTclInstance_TCL_DECLARED
146#define TclWinGetTclInstance_TCL_DECLARED
147/* 4 */
148EXTERN HINSTANCE	TclWinGetTclInstance(void);
149#endif
150/* Slot 5 is reserved */
151#ifndef TclWinNToHS_TCL_DECLARED
152#define TclWinNToHS_TCL_DECLARED
153/* 6 */
154EXTERN u_short		TclWinNToHS(u_short ns);
155#endif
156#ifndef TclWinSetSockOpt_TCL_DECLARED
157#define TclWinSetSockOpt_TCL_DECLARED
158/* 7 */
159EXTERN int		TclWinSetSockOpt(int s, int level, int optname,
160				CONST char FAR *optval, int optlen);
161#endif
162#ifndef TclpGetPid_TCL_DECLARED
163#define TclpGetPid_TCL_DECLARED
164/* 8 */
165EXTERN unsigned long	TclpGetPid(Tcl_Pid pid);
166#endif
167#ifndef TclWinGetPlatformId_TCL_DECLARED
168#define TclWinGetPlatformId_TCL_DECLARED
169/* 9 */
170EXTERN int		TclWinGetPlatformId(void);
171#endif
172/* Slot 10 is reserved */
173#ifndef TclGetAndDetachPids_TCL_DECLARED
174#define TclGetAndDetachPids_TCL_DECLARED
175/* 11 */
176EXTERN void		TclGetAndDetachPids(Tcl_Interp *interp,
177				Tcl_Channel chan);
178#endif
179#ifndef TclpCloseFile_TCL_DECLARED
180#define TclpCloseFile_TCL_DECLARED
181/* 12 */
182EXTERN int		TclpCloseFile(TclFile file);
183#endif
184#ifndef TclpCreateCommandChannel_TCL_DECLARED
185#define TclpCreateCommandChannel_TCL_DECLARED
186/* 13 */
187EXTERN Tcl_Channel	TclpCreateCommandChannel(TclFile readFile,
188				TclFile writeFile, TclFile errorFile,
189				int numPids, Tcl_Pid *pidPtr);
190#endif
191#ifndef TclpCreatePipe_TCL_DECLARED
192#define TclpCreatePipe_TCL_DECLARED
193/* 14 */
194EXTERN int		TclpCreatePipe(TclFile *readPipe, TclFile *writePipe);
195#endif
196#ifndef TclpCreateProcess_TCL_DECLARED
197#define TclpCreateProcess_TCL_DECLARED
198/* 15 */
199EXTERN int		TclpCreateProcess(Tcl_Interp *interp, int argc,
200				CONST char **argv, TclFile inputFile,
201				TclFile outputFile, TclFile errorFile,
202				Tcl_Pid *pidPtr);
203#endif
204/* Slot 16 is reserved */
205/* Slot 17 is reserved */
206#ifndef TclpMakeFile_TCL_DECLARED
207#define TclpMakeFile_TCL_DECLARED
208/* 18 */
209EXTERN TclFile		TclpMakeFile(Tcl_Channel channel, int direction);
210#endif
211#ifndef TclpOpenFile_TCL_DECLARED
212#define TclpOpenFile_TCL_DECLARED
213/* 19 */
214EXTERN TclFile		TclpOpenFile(CONST char *fname, int mode);
215#endif
216#ifndef TclWinAddProcess_TCL_DECLARED
217#define TclWinAddProcess_TCL_DECLARED
218/* 20 */
219EXTERN void		TclWinAddProcess(void *hProcess, unsigned long id);
220#endif
221/* Slot 21 is reserved */
222#ifndef TclpCreateTempFile_TCL_DECLARED
223#define TclpCreateTempFile_TCL_DECLARED
224/* 22 */
225EXTERN TclFile		TclpCreateTempFile(CONST char *contents);
226#endif
227#ifndef TclpGetTZName_TCL_DECLARED
228#define TclpGetTZName_TCL_DECLARED
229/* 23 */
230EXTERN char *		TclpGetTZName(int isdst);
231#endif
232#ifndef TclWinNoBackslash_TCL_DECLARED
233#define TclWinNoBackslash_TCL_DECLARED
234/* 24 */
235EXTERN char *		TclWinNoBackslash(char *path);
236#endif
237/* Slot 25 is reserved */
238#ifndef TclWinSetInterfaces_TCL_DECLARED
239#define TclWinSetInterfaces_TCL_DECLARED
240/* 26 */
241EXTERN void		TclWinSetInterfaces(int wide);
242#endif
243#ifndef TclWinFlushDirtyChannels_TCL_DECLARED
244#define TclWinFlushDirtyChannels_TCL_DECLARED
245/* 27 */
246EXTERN void		TclWinFlushDirtyChannels(void);
247#endif
248#ifndef TclWinResetInterfaces_TCL_DECLARED
249#define TclWinResetInterfaces_TCL_DECLARED
250/* 28 */
251EXTERN void		TclWinResetInterfaces(void);
252#endif
253#ifndef TclWinCPUID_TCL_DECLARED
254#define TclWinCPUID_TCL_DECLARED
255/* 29 */
256EXTERN int		TclWinCPUID(unsigned int index, unsigned int *regs);
257#endif
258#endif /* WIN */
259#ifdef MAC_OSX_TCL /* MACOSX */
260#ifndef TclGetAndDetachPids_TCL_DECLARED
261#define TclGetAndDetachPids_TCL_DECLARED
262/* 0 */
263EXTERN void		TclGetAndDetachPids(Tcl_Interp *interp,
264				Tcl_Channel chan);
265#endif
266#ifndef TclpCloseFile_TCL_DECLARED
267#define TclpCloseFile_TCL_DECLARED
268/* 1 */
269EXTERN int		TclpCloseFile(TclFile file);
270#endif
271#ifndef TclpCreateCommandChannel_TCL_DECLARED
272#define TclpCreateCommandChannel_TCL_DECLARED
273/* 2 */
274EXTERN Tcl_Channel	TclpCreateCommandChannel(TclFile readFile,
275				TclFile writeFile, TclFile errorFile,
276				int numPids, Tcl_Pid *pidPtr);
277#endif
278#ifndef TclpCreatePipe_TCL_DECLARED
279#define TclpCreatePipe_TCL_DECLARED
280/* 3 */
281EXTERN int		TclpCreatePipe(TclFile *readPipe, TclFile *writePipe);
282#endif
283#ifndef TclpCreateProcess_TCL_DECLARED
284#define TclpCreateProcess_TCL_DECLARED
285/* 4 */
286EXTERN int		TclpCreateProcess(Tcl_Interp *interp, int argc,
287				CONST char **argv, TclFile inputFile,
288				TclFile outputFile, TclFile errorFile,
289				Tcl_Pid *pidPtr);
290#endif
291/* Slot 5 is reserved */
292#ifndef TclpMakeFile_TCL_DECLARED
293#define TclpMakeFile_TCL_DECLARED
294/* 6 */
295EXTERN TclFile		TclpMakeFile(Tcl_Channel channel, int direction);
296#endif
297#ifndef TclpOpenFile_TCL_DECLARED
298#define TclpOpenFile_TCL_DECLARED
299/* 7 */
300EXTERN TclFile		TclpOpenFile(CONST char *fname, int mode);
301#endif
302#ifndef TclUnixWaitForFile_TCL_DECLARED
303#define TclUnixWaitForFile_TCL_DECLARED
304/* 8 */
305EXTERN int		TclUnixWaitForFile(int fd, int mask, int timeout);
306#endif
307#ifndef TclpCreateTempFile_TCL_DECLARED
308#define TclpCreateTempFile_TCL_DECLARED
309/* 9 */
310EXTERN TclFile		TclpCreateTempFile(CONST char *contents);
311#endif
312#ifndef TclpReaddir_TCL_DECLARED
313#define TclpReaddir_TCL_DECLARED
314/* 10 */
315EXTERN Tcl_DirEntry *	TclpReaddir(DIR *dir);
316#endif
317#ifndef TclpLocaltime_unix_TCL_DECLARED
318#define TclpLocaltime_unix_TCL_DECLARED
319/* 11 */
320EXTERN struct tm *	TclpLocaltime_unix(CONST time_t *clock);
321#endif
322#ifndef TclpGmtime_unix_TCL_DECLARED
323#define TclpGmtime_unix_TCL_DECLARED
324/* 12 */
325EXTERN struct tm *	TclpGmtime_unix(CONST time_t *clock);
326#endif
327#ifndef TclpInetNtoa_TCL_DECLARED
328#define TclpInetNtoa_TCL_DECLARED
329/* 13 */
330EXTERN char *		TclpInetNtoa(struct in_addr addr);
331#endif
332#ifndef TclUnixCopyFile_TCL_DECLARED
333#define TclUnixCopyFile_TCL_DECLARED
334/* 14 */
335EXTERN int		TclUnixCopyFile(CONST char *src, CONST char *dst,
336				CONST Tcl_StatBuf *statBufPtr,
337				int dontCopyAtts);
338#endif
339#ifndef TclMacOSXGetFileAttribute_TCL_DECLARED
340#define TclMacOSXGetFileAttribute_TCL_DECLARED
341/* 15 */
342EXTERN int		TclMacOSXGetFileAttribute(Tcl_Interp *interp,
343				int objIndex, Tcl_Obj *fileName,
344				Tcl_Obj **attributePtrPtr);
345#endif
346#ifndef TclMacOSXSetFileAttribute_TCL_DECLARED
347#define TclMacOSXSetFileAttribute_TCL_DECLARED
348/* 16 */
349EXTERN int		TclMacOSXSetFileAttribute(Tcl_Interp *interp,
350				int objIndex, Tcl_Obj *fileName,
351				Tcl_Obj *attributePtr);
352#endif
353#ifndef TclMacOSXCopyFileAttributes_TCL_DECLARED
354#define TclMacOSXCopyFileAttributes_TCL_DECLARED
355/* 17 */
356EXTERN int		TclMacOSXCopyFileAttributes(CONST char *src,
357				CONST char *dst,
358				CONST Tcl_StatBuf *statBufPtr);
359#endif
360#ifndef TclMacOSXMatchType_TCL_DECLARED
361#define TclMacOSXMatchType_TCL_DECLARED
362/* 18 */
363EXTERN int		TclMacOSXMatchType(Tcl_Interp *interp,
364				CONST char *pathName, CONST char *fileName,
365				Tcl_StatBuf *statBufPtr,
366				Tcl_GlobTypeData *types);
367#endif
368#ifndef TclMacOSXNotifierAddRunLoopMode_TCL_DECLARED
369#define TclMacOSXNotifierAddRunLoopMode_TCL_DECLARED
370/* 19 */
371EXTERN void		TclMacOSXNotifierAddRunLoopMode(
372				CONST void *runLoopMode);
373#endif
374#endif /* MACOSX */
375
376typedef struct TclIntPlatStubs {
377    int magic;
378    struct TclIntPlatStubHooks *hooks;
379
380#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */
381    void (*tclGetAndDetachPids) (Tcl_Interp *interp, Tcl_Channel chan); /* 0 */
382    int (*tclpCloseFile) (TclFile file); /* 1 */
383    Tcl_Channel (*tclpCreateCommandChannel) (TclFile readFile, TclFile writeFile, TclFile errorFile, int numPids, Tcl_Pid *pidPtr); /* 2 */
384    int (*tclpCreatePipe) (TclFile *readPipe, TclFile *writePipe); /* 3 */
385    int (*tclpCreateProcess) (Tcl_Interp *interp, int argc, CONST char **argv, TclFile inputFile, TclFile outputFile, TclFile errorFile, Tcl_Pid *pidPtr); /* 4 */
386    void *reserved5;
387    TclFile (*tclpMakeFile) (Tcl_Channel channel, int direction); /* 6 */
388    TclFile (*tclpOpenFile) (CONST char *fname, int mode); /* 7 */
389    int (*tclUnixWaitForFile) (int fd, int mask, int timeout); /* 8 */
390    TclFile (*tclpCreateTempFile) (CONST char *contents); /* 9 */
391    Tcl_DirEntry * (*tclpReaddir) (DIR *dir); /* 10 */
392    struct tm * (*tclpLocaltime_unix) (CONST time_t *clock); /* 11 */
393    struct tm * (*tclpGmtime_unix) (CONST time_t *clock); /* 12 */
394    char * (*tclpInetNtoa) (struct in_addr addr); /* 13 */
395    int (*tclUnixCopyFile) (CONST char *src, CONST char *dst, CONST Tcl_StatBuf *statBufPtr, int dontCopyAtts); /* 14 */
396#endif /* UNIX */
397#ifdef __WIN32__ /* WIN */
398    void (*tclWinConvertError) (unsigned long errCode); /* 0 */
399    void (*tclWinConvertWSAError) (unsigned long errCode); /* 1 */
400    struct servent * (*tclWinGetServByName) (CONST char *nm, CONST char *proto); /* 2 */
401    int (*tclWinGetSockOpt) (int s, int level, int optname, char FAR *optval, int FAR *optlen); /* 3 */
402    HINSTANCE (*tclWinGetTclInstance) (void); /* 4 */
403    void *reserved5;
404    u_short (*tclWinNToHS) (u_short ns); /* 6 */
405    int (*tclWinSetSockOpt) (int s, int level, int optname, CONST char FAR *optval, int optlen); /* 7 */
406    unsigned long (*tclpGetPid) (Tcl_Pid pid); /* 8 */
407    int (*tclWinGetPlatformId) (void); /* 9 */
408    void *reserved10;
409    void (*tclGetAndDetachPids) (Tcl_Interp *interp, Tcl_Channel chan); /* 11 */
410    int (*tclpCloseFile) (TclFile file); /* 12 */
411    Tcl_Channel (*tclpCreateCommandChannel) (TclFile readFile, TclFile writeFile, TclFile errorFile, int numPids, Tcl_Pid *pidPtr); /* 13 */
412    int (*tclpCreatePipe) (TclFile *readPipe, TclFile *writePipe); /* 14 */
413    int (*tclpCreateProcess) (Tcl_Interp *interp, int argc, CONST char **argv, TclFile inputFile, TclFile outputFile, TclFile errorFile, Tcl_Pid *pidPtr); /* 15 */
414    void *reserved16;
415    void *reserved17;
416    TclFile (*tclpMakeFile) (Tcl_Channel channel, int direction); /* 18 */
417    TclFile (*tclpOpenFile) (CONST char *fname, int mode); /* 19 */
418    void (*tclWinAddProcess) (void *hProcess, unsigned long id); /* 20 */
419    void *reserved21;
420    TclFile (*tclpCreateTempFile) (CONST char *contents); /* 22 */
421    char * (*tclpGetTZName) (int isdst); /* 23 */
422    char * (*tclWinNoBackslash) (char *path); /* 24 */
423    void *reserved25;
424    void (*tclWinSetInterfaces) (int wide); /* 26 */
425    void (*tclWinFlushDirtyChannels) (void); /* 27 */
426    void (*tclWinResetInterfaces) (void); /* 28 */
427    int (*tclWinCPUID) (unsigned int index, unsigned int *regs); /* 29 */
428#endif /* WIN */
429#ifdef MAC_OSX_TCL /* MACOSX */
430    void (*tclGetAndDetachPids) (Tcl_Interp *interp, Tcl_Channel chan); /* 0 */
431    int (*tclpCloseFile) (TclFile file); /* 1 */
432    Tcl_Channel (*tclpCreateCommandChannel) (TclFile readFile, TclFile writeFile, TclFile errorFile, int numPids, Tcl_Pid *pidPtr); /* 2 */
433    int (*tclpCreatePipe) (TclFile *readPipe, TclFile *writePipe); /* 3 */
434    int (*tclpCreateProcess) (Tcl_Interp *interp, int argc, CONST char **argv, TclFile inputFile, TclFile outputFile, TclFile errorFile, Tcl_Pid *pidPtr); /* 4 */
435    void *reserved5;
436    TclFile (*tclpMakeFile) (Tcl_Channel channel, int direction); /* 6 */
437    TclFile (*tclpOpenFile) (CONST char *fname, int mode); /* 7 */
438    int (*tclUnixWaitForFile) (int fd, int mask, int timeout); /* 8 */
439    TclFile (*tclpCreateTempFile) (CONST char *contents); /* 9 */
440    Tcl_DirEntry * (*tclpReaddir) (DIR *dir); /* 10 */
441    struct tm * (*tclpLocaltime_unix) (CONST time_t *clock); /* 11 */
442    struct tm * (*tclpGmtime_unix) (CONST time_t *clock); /* 12 */
443    char * (*tclpInetNtoa) (struct in_addr addr); /* 13 */
444    int (*tclUnixCopyFile) (CONST char *src, CONST char *dst, CONST Tcl_StatBuf *statBufPtr, int dontCopyAtts); /* 14 */
445    int (*tclMacOSXGetFileAttribute) (Tcl_Interp *interp, int objIndex, Tcl_Obj *fileName, Tcl_Obj **attributePtrPtr); /* 15 */
446    int (*tclMacOSXSetFileAttribute) (Tcl_Interp *interp, int objIndex, Tcl_Obj *fileName, Tcl_Obj *attributePtr); /* 16 */
447    int (*tclMacOSXCopyFileAttributes) (CONST char *src, CONST char *dst, CONST Tcl_StatBuf *statBufPtr); /* 17 */
448    int (*tclMacOSXMatchType) (Tcl_Interp *interp, CONST char *pathName, CONST char *fileName, Tcl_StatBuf *statBufPtr, Tcl_GlobTypeData *types); /* 18 */
449    void (*tclMacOSXNotifierAddRunLoopMode) (CONST void *runLoopMode); /* 19 */
450#endif /* MACOSX */
451} TclIntPlatStubs;
452
453#ifdef __cplusplus
454extern "C" {
455#endif
456extern TclIntPlatStubs *tclIntPlatStubsPtr;
457#ifdef __cplusplus
458}
459#endif
460
461#if defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS)
462
463/*
464 * Inline function declarations:
465 */
466
467#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */
468#ifndef TclGetAndDetachPids
469#define TclGetAndDetachPids \
470	(tclIntPlatStubsPtr->tclGetAndDetachPids) /* 0 */
471#endif
472#ifndef TclpCloseFile
473#define TclpCloseFile \
474	(tclIntPlatStubsPtr->tclpCloseFile) /* 1 */
475#endif
476#ifndef TclpCreateCommandChannel
477#define TclpCreateCommandChannel \
478	(tclIntPlatStubsPtr->tclpCreateCommandChannel) /* 2 */
479#endif
480#ifndef TclpCreatePipe
481#define TclpCreatePipe \
482	(tclIntPlatStubsPtr->tclpCreatePipe) /* 3 */
483#endif
484#ifndef TclpCreateProcess
485#define TclpCreateProcess \
486	(tclIntPlatStubsPtr->tclpCreateProcess) /* 4 */
487#endif
488/* Slot 5 is reserved */
489#ifndef TclpMakeFile
490#define TclpMakeFile \
491	(tclIntPlatStubsPtr->tclpMakeFile) /* 6 */
492#endif
493#ifndef TclpOpenFile
494#define TclpOpenFile \
495	(tclIntPlatStubsPtr->tclpOpenFile) /* 7 */
496#endif
497#ifndef TclUnixWaitForFile
498#define TclUnixWaitForFile \
499	(tclIntPlatStubsPtr->tclUnixWaitForFile) /* 8 */
500#endif
501#ifndef TclpCreateTempFile
502#define TclpCreateTempFile \
503	(tclIntPlatStubsPtr->tclpCreateTempFile) /* 9 */
504#endif
505#ifndef TclpReaddir
506#define TclpReaddir \
507	(tclIntPlatStubsPtr->tclpReaddir) /* 10 */
508#endif
509#ifndef TclpLocaltime_unix
510#define TclpLocaltime_unix \
511	(tclIntPlatStubsPtr->tclpLocaltime_unix) /* 11 */
512#endif
513#ifndef TclpGmtime_unix
514#define TclpGmtime_unix \
515	(tclIntPlatStubsPtr->tclpGmtime_unix) /* 12 */
516#endif
517#ifndef TclpInetNtoa
518#define TclpInetNtoa \
519	(tclIntPlatStubsPtr->tclpInetNtoa) /* 13 */
520#endif
521#ifndef TclUnixCopyFile
522#define TclUnixCopyFile \
523	(tclIntPlatStubsPtr->tclUnixCopyFile) /* 14 */
524#endif
525#endif /* UNIX */
526#ifdef __WIN32__ /* WIN */
527#ifndef TclWinConvertError
528#define TclWinConvertError \
529	(tclIntPlatStubsPtr->tclWinConvertError) /* 0 */
530#endif
531#ifndef TclWinConvertWSAError
532#define TclWinConvertWSAError \
533	(tclIntPlatStubsPtr->tclWinConvertWSAError) /* 1 */
534#endif
535#ifndef TclWinGetServByName
536#define TclWinGetServByName \
537	(tclIntPlatStubsPtr->tclWinGetServByName) /* 2 */
538#endif
539#ifndef TclWinGetSockOpt
540#define TclWinGetSockOpt \
541	(tclIntPlatStubsPtr->tclWinGetSockOpt) /* 3 */
542#endif
543#ifndef TclWinGetTclInstance
544#define TclWinGetTclInstance \
545	(tclIntPlatStubsPtr->tclWinGetTclInstance) /* 4 */
546#endif
547/* Slot 5 is reserved */
548#ifndef TclWinNToHS
549#define TclWinNToHS \
550	(tclIntPlatStubsPtr->tclWinNToHS) /* 6 */
551#endif
552#ifndef TclWinSetSockOpt
553#define TclWinSetSockOpt \
554	(tclIntPlatStubsPtr->tclWinSetSockOpt) /* 7 */
555#endif
556#ifndef TclpGetPid
557#define TclpGetPid \
558	(tclIntPlatStubsPtr->tclpGetPid) /* 8 */
559#endif
560#ifndef TclWinGetPlatformId
561#define TclWinGetPlatformId \
562	(tclIntPlatStubsPtr->tclWinGetPlatformId) /* 9 */
563#endif
564/* Slot 10 is reserved */
565#ifndef TclGetAndDetachPids
566#define TclGetAndDetachPids \
567	(tclIntPlatStubsPtr->tclGetAndDetachPids) /* 11 */
568#endif
569#ifndef TclpCloseFile
570#define TclpCloseFile \
571	(tclIntPlatStubsPtr->tclpCloseFile) /* 12 */
572#endif
573#ifndef TclpCreateCommandChannel
574#define TclpCreateCommandChannel \
575	(tclIntPlatStubsPtr->tclpCreateCommandChannel) /* 13 */
576#endif
577#ifndef TclpCreatePipe
578#define TclpCreatePipe \
579	(tclIntPlatStubsPtr->tclpCreatePipe) /* 14 */
580#endif
581#ifndef TclpCreateProcess
582#define TclpCreateProcess \
583	(tclIntPlatStubsPtr->tclpCreateProcess) /* 15 */
584#endif
585/* Slot 16 is reserved */
586/* Slot 17 is reserved */
587#ifndef TclpMakeFile
588#define TclpMakeFile \
589	(tclIntPlatStubsPtr->tclpMakeFile) /* 18 */
590#endif
591#ifndef TclpOpenFile
592#define TclpOpenFile \
593	(tclIntPlatStubsPtr->tclpOpenFile) /* 19 */
594#endif
595#ifndef TclWinAddProcess
596#define TclWinAddProcess \
597	(tclIntPlatStubsPtr->tclWinAddProcess) /* 20 */
598#endif
599/* Slot 21 is reserved */
600#ifndef TclpCreateTempFile
601#define TclpCreateTempFile \
602	(tclIntPlatStubsPtr->tclpCreateTempFile) /* 22 */
603#endif
604#ifndef TclpGetTZName
605#define TclpGetTZName \
606	(tclIntPlatStubsPtr->tclpGetTZName) /* 23 */
607#endif
608#ifndef TclWinNoBackslash
609#define TclWinNoBackslash \
610	(tclIntPlatStubsPtr->tclWinNoBackslash) /* 24 */
611#endif
612/* Slot 25 is reserved */
613#ifndef TclWinSetInterfaces
614#define TclWinSetInterfaces \
615	(tclIntPlatStubsPtr->tclWinSetInterfaces) /* 26 */
616#endif
617#ifndef TclWinFlushDirtyChannels
618#define TclWinFlushDirtyChannels \
619	(tclIntPlatStubsPtr->tclWinFlushDirtyChannels) /* 27 */
620#endif
621#ifndef TclWinResetInterfaces
622#define TclWinResetInterfaces \
623	(tclIntPlatStubsPtr->tclWinResetInterfaces) /* 28 */
624#endif
625#ifndef TclWinCPUID
626#define TclWinCPUID \
627	(tclIntPlatStubsPtr->tclWinCPUID) /* 29 */
628#endif
629#endif /* WIN */
630#ifdef MAC_OSX_TCL /* MACOSX */
631#ifndef TclGetAndDetachPids
632#define TclGetAndDetachPids \
633	(tclIntPlatStubsPtr->tclGetAndDetachPids) /* 0 */
634#endif
635#ifndef TclpCloseFile
636#define TclpCloseFile \
637	(tclIntPlatStubsPtr->tclpCloseFile) /* 1 */
638#endif
639#ifndef TclpCreateCommandChannel
640#define TclpCreateCommandChannel \
641	(tclIntPlatStubsPtr->tclpCreateCommandChannel) /* 2 */
642#endif
643#ifndef TclpCreatePipe
644#define TclpCreatePipe \
645	(tclIntPlatStubsPtr->tclpCreatePipe) /* 3 */
646#endif
647#ifndef TclpCreateProcess
648#define TclpCreateProcess \
649	(tclIntPlatStubsPtr->tclpCreateProcess) /* 4 */
650#endif
651/* Slot 5 is reserved */
652#ifndef TclpMakeFile
653#define TclpMakeFile \
654	(tclIntPlatStubsPtr->tclpMakeFile) /* 6 */
655#endif
656#ifndef TclpOpenFile
657#define TclpOpenFile \
658	(tclIntPlatStubsPtr->tclpOpenFile) /* 7 */
659#endif
660#ifndef TclUnixWaitForFile
661#define TclUnixWaitForFile \
662	(tclIntPlatStubsPtr->tclUnixWaitForFile) /* 8 */
663#endif
664#ifndef TclpCreateTempFile
665#define TclpCreateTempFile \
666	(tclIntPlatStubsPtr->tclpCreateTempFile) /* 9 */
667#endif
668#ifndef TclpReaddir
669#define TclpReaddir \
670	(tclIntPlatStubsPtr->tclpReaddir) /* 10 */
671#endif
672#ifndef TclpLocaltime_unix
673#define TclpLocaltime_unix \
674	(tclIntPlatStubsPtr->tclpLocaltime_unix) /* 11 */
675#endif
676#ifndef TclpGmtime_unix
677#define TclpGmtime_unix \
678	(tclIntPlatStubsPtr->tclpGmtime_unix) /* 12 */
679#endif
680#ifndef TclpInetNtoa
681#define TclpInetNtoa \
682	(tclIntPlatStubsPtr->tclpInetNtoa) /* 13 */
683#endif
684#ifndef TclUnixCopyFile
685#define TclUnixCopyFile \
686	(tclIntPlatStubsPtr->tclUnixCopyFile) /* 14 */
687#endif
688#ifndef TclMacOSXGetFileAttribute
689#define TclMacOSXGetFileAttribute \
690	(tclIntPlatStubsPtr->tclMacOSXGetFileAttribute) /* 15 */
691#endif
692#ifndef TclMacOSXSetFileAttribute
693#define TclMacOSXSetFileAttribute \
694	(tclIntPlatStubsPtr->tclMacOSXSetFileAttribute) /* 16 */
695#endif
696#ifndef TclMacOSXCopyFileAttributes
697#define TclMacOSXCopyFileAttributes \
698	(tclIntPlatStubsPtr->tclMacOSXCopyFileAttributes) /* 17 */
699#endif
700#ifndef TclMacOSXMatchType
701#define TclMacOSXMatchType \
702	(tclIntPlatStubsPtr->tclMacOSXMatchType) /* 18 */
703#endif
704#ifndef TclMacOSXNotifierAddRunLoopMode
705#define TclMacOSXNotifierAddRunLoopMode \
706	(tclIntPlatStubsPtr->tclMacOSXNotifierAddRunLoopMode) /* 19 */
707#endif
708#endif /* MACOSX */
709
710#endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */
711
712/* !END!: Do not edit above this line. */
713
714#undef TCL_STORAGE_CLASS
715#define TCL_STORAGE_CLASS DLLIMPORT
716
717#endif /* _TCLINTPLATDECLS */
718