diff -r 000000000000 -r 2e3d3ce01487 openenvutils/commandshell/shell/inc/jobs.epro --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/openenvutils/commandshell/shell/inc/jobs.epro Tue Feb 02 10:12:00 2010 +0200 @@ -0,0 +1,57 @@ +/* Generated automatically */ +#ifndef have_Src_jobs_globals +#define have_Src_jobs_globals + +extern mod_import_variable pid_t origpgrp; +extern mod_import_variable pid_t mypgrp; +extern mod_import_variable int thisjob; +extern mod_import_variable int curjob; +extern mod_import_variable int prevjob; +extern mod_import_variable struct job*jobtab; +extern mod_import_variable int jobtabsize; +extern mod_import_variable int maxjob; +#ifdef HAVE_GETRUSAGE +#else +#endif +extern int ttyfrozen; +extern int prev_errflag; +extern int prev_breaks; +extern int errbrk_saved; +extern int numpipestats; +extern int pipestats[MAX_PIPESTATS]; +extern void makerunning _((Job jn)); +extern int findproc _((pid_t pid,Job*jptr,Process*pptr,int aux)); +extern int hasprocs _((int job)); +extern void get_usage _((void)); +extern void update_process _((Process pn,int status)); +extern void update_job _((Job jn)); +#ifndef HAVE_GETRUSAGE +#endif +extern void printjob _((Job jn,int lng,int synch)); +extern void deletefilelist _((LinkList file_list)); +extern void freejob _((Job jn,int deleting)); +extern void deletejob _((Job jn)); +extern void addproc _((pid_t pid,char*text,int aux,struct timeval*bgtime)); +extern int havefiles _((void)); +extern void waitforpid _((pid_t pid)); +extern void waitjobs _((void)); +extern mod_import_function void clearjobtab _((int monitor)); +extern int initjob _((void)); +extern void setjobpwd _((void)); +extern void spawnjob _((void)); +extern void shelltime _((void)); +extern void scanjobs _((void)); +extern void init_jobs _((char**argv,char**envp)); +extern int expandjobtab _((void)); +extern void maybeshrinkjobtab _((void)); +extern int bin_fg _((char*name,char**argv,Options ops,int func)); +extern int bin_kill _((char*nam,char**argv,UNUSED(Options ops),UNUSED(int func))); +extern mod_import_function int getsignum _((char*s)); +extern HashNode gettrapnode _((int sig,int ignoredisable)); +extern void removetrapnode _((int sig)); +extern int bin_suspend _((char*name,UNUSED(char**argv),Options ops,UNUSED(int func))); +extern int findjobnam _((char*s)); +extern void acquire_pgrp _((void)); +extern void release_pgrp _((void)); + +#endif /* !have_Src_jobs_globals */