|
1 /* Generated automatically */ |
|
2 #ifndef have_Src_jobs_globals |
|
3 #define have_Src_jobs_globals |
|
4 |
|
5 extern mod_import_variable pid_t origpgrp; |
|
6 extern mod_import_variable pid_t mypgrp; |
|
7 extern mod_import_variable int thisjob; |
|
8 extern mod_import_variable int curjob; |
|
9 extern mod_import_variable int prevjob; |
|
10 extern mod_import_variable struct job*jobtab; |
|
11 extern mod_import_variable int jobtabsize; |
|
12 extern mod_import_variable int maxjob; |
|
13 #ifdef HAVE_GETRUSAGE |
|
14 #else |
|
15 #endif |
|
16 extern int ttyfrozen; |
|
17 extern int prev_errflag; |
|
18 extern int prev_breaks; |
|
19 extern int errbrk_saved; |
|
20 extern int numpipestats; |
|
21 extern int pipestats[MAX_PIPESTATS]; |
|
22 extern void makerunning _((Job jn)); |
|
23 extern int findproc _((pid_t pid,Job*jptr,Process*pptr,int aux)); |
|
24 extern int hasprocs _((int job)); |
|
25 extern void get_usage _((void)); |
|
26 extern void update_process _((Process pn,int status)); |
|
27 extern void update_job _((Job jn)); |
|
28 #ifndef HAVE_GETRUSAGE |
|
29 #endif |
|
30 extern void printjob _((Job jn,int lng,int synch)); |
|
31 extern void deletefilelist _((LinkList file_list)); |
|
32 extern void freejob _((Job jn,int deleting)); |
|
33 extern void deletejob _((Job jn)); |
|
34 extern void addproc _((pid_t pid,char*text,int aux,struct timeval*bgtime)); |
|
35 extern int havefiles _((void)); |
|
36 extern void waitforpid _((pid_t pid)); |
|
37 extern void waitjobs _((void)); |
|
38 extern mod_import_function void clearjobtab _((int monitor)); |
|
39 extern int initjob _((void)); |
|
40 extern void setjobpwd _((void)); |
|
41 extern void spawnjob _((void)); |
|
42 extern void shelltime _((void)); |
|
43 extern void scanjobs _((void)); |
|
44 extern void init_jobs _((char**argv,char**envp)); |
|
45 extern int expandjobtab _((void)); |
|
46 extern void maybeshrinkjobtab _((void)); |
|
47 extern int bin_fg _((char*name,char**argv,Options ops,int func)); |
|
48 extern int bin_kill _((char*nam,char**argv,UNUSED(Options ops),UNUSED(int func))); |
|
49 extern mod_import_function int getsignum _((char*s)); |
|
50 extern HashNode gettrapnode _((int sig,int ignoredisable)); |
|
51 extern void removetrapnode _((int sig)); |
|
52 extern int bin_suspend _((char*name,UNUSED(char**argv),Options ops,UNUSED(int func))); |
|
53 extern int findjobnam _((char*s)); |
|
54 extern void acquire_pgrp _((void)); |
|
55 extern void release_pgrp _((void)); |
|
56 |
|
57 #endif /* !have_Src_jobs_globals */ |