1 /* Copyright (c) 1992, 1998 John E. Davis
2  * This file is part of JED editor library source.
3  *
4  * You may distribute this file under the terms the GNU General Public
5  * License.  See the file COPYING for more information.
6  */
7 #define MAX_PROCESSES 10
8 
9 #ifdef __WIN32__
10 # ifdef VOID
11 #  undef VOID
12 # endif
13 # include <windows.h>
14 # include <stdio.h>
15 /* # define WIN95BUG	1 */
16 /* extern CRITICAL_SECTION Critical_Section; */
17 extern HANDLE Input_Events[];
18 #else
19 extern int Subprocess_Read_fds [MAX_PROCESSES][2];
20 extern int Max_Subprocess_FD;
21 #endif
22 extern int kanji_default_process_code;
23 
24 extern int Num_Subprocesses;
25 extern volatile int Child_Status_Changed_Flag;
26 
27 extern void read_process_input (int);
28 extern int jed_set_kanji_process_code (int *, int *, int *);
29 extern int jed_close_process (int *);
30 extern int jed_send_process (int *, char *);
31 extern int jed_open_process (int *);
32 extern void jed_get_child_status (void);
33 extern void jed_kill_process (int);
34 extern void jed_get_process_mark (int *);
35 extern void jed_set_process (int *, char *, char *);
36 extern void jed_send_process_eof (int *);
37 extern void get_process_input (int *);
38 extern int jed_signal_process (int *, int *);
39 
40 #ifdef REAL_UNIX_SYSTEM
41 extern void jed_block_child_signal (int);
42 #endif
43 
44 extern FILE *jed_popen (char *, char *);
45 extern int jed_pclose (FILE *);
46