3 * Copyright © 2001 Novell, Inc. All Rights Reserved.
5 * You may distribute under the terms of either the GNU General Public
6 * License or the Artistic License, as specified in the README file.
12 * DESCRIPTION : Functions to implement pipes on NetWare.
14 * Date : January 2001.
27 #define MAX_PIPE_RECURSION 256
30 typedef struct tagTempPipeFile
32 BOOL m_mode; // FALSE - Read mode ; TRUE - Write mode
43 SEMAPHORE m_perlSynchSemaphore;
45 long m_perlSynchSemaphore;
49 PCOMMANDLINEPARSER m_pipeCommand;
51 } TEMPPIPEFILE, *PTEMPPIPEFILE;
54 void fnPipeFileClose(PTEMPPIPEFILE ptpf);
55 void fnPipeFileDoPerlLaunch(PTEMPPIPEFILE ptpf);
56 BOOL fnPipeFileMakeArgv(PTEMPPIPEFILE ptpf);
57 FILE* fnPipeFileOpen(PTEMPPIPEFILE ptpf, char* command, char* mode);
58 void fnTempPipeFileReleaseMemory(PTEMPPIPEFILE ptpf);
61 #endif // __NWPipe_H__