Debian Codegraph @

proc.h

raw
1 /**************************************************************************
2 * This program is Copyright (C) 1986-2002 by Jonathan Payne. JOVE is *
3 * provided by Jonathan and Jovehacks without charge and without *
4 * warranty. You may copy, modify, and/or distribute JOVE, provided that *
5 * this notice is included in all the source files and documentation. *
6 **************************************************************************/
7
8 extern char ShcomBuf[LBSIZE];
9
10 extern char *MakeName(char *command);
11
12 extern void
13 isprocbuf(const char *bufname),
14 get_FL_info(char *, char *),
15 ChkErrorLines(void),
16 ErrFree(void);
17
18 extern wait_status_t
19 UnixToBuf(int, const char *, const char *, const char *);
20
21 /* flags for UnixToBuf: */
22 #define UTB_DISP 1 /* Display output? */
23 #define UTB_CLOBBER 2 /* (if UTB_DISP) clear buffer at start? */
24 #define UTB_ERRWIN 4 /* (if UTB_DISP) make window size error-window-size? */
25 #define UTB_SH 8 /* shell command? */
26 #define UTB_FILEARG 16 /* pass curbuf->b_fname as $0? */
27
28 #ifndef MSDOS_PROCS
29 extern pid_t ChildPid; /* pid of any outstanding non-iproc process */
30 extern void dowait(wait_status_t *status);
31 #endif
32
33 /* Commands: */
34
35 #ifdef SUBSHELL
36 extern void
37 MakeErrors(void),
38 FilterRegion(void),
39 ShNoBuf(void),
40 ShToBuf(void),
41 ShellCom(void),
42 Shtypeout(void),
43 ProcEnvExport(void),
44 ProcEnvShow(void),
45 ProcEnvUnset(void);
46 #endif
47 /*
48 * Even if we don't have MakeErrors, the following are useful because we can
49 * load an error file and parse it with these.
50 */
51 extern void
52 ErrParse(void),
53 ShowErr(void),
54 NextError(void),
55 PrevError(void);
56
57 #ifdef SPELL
58 extern void
59 SpelBuffer(void),
60 SpelWords(void);
61 #endif
62
63 /* Variables: */
64
65 extern int EWSize; /* VAR: percentage of screen to make the error window */
66 extern char ErrFmtStr[256]; /* VAR: format string for parse errors */
67 #ifdef SUBSHELL
68 extern jbool WtOnMk; /* VAR: write files on compile-it command */
69 extern jbool WrapProcessLines; /* VAR: wrap process lines at CO-1 chars */
70 #endif
71 #ifdef SPELL
72 extern char SpellCmdFmt[FILESIZE]; /* VAR: command to use for spell check */
73 #endif