32 |
|
extern PSERVER *pslist; /* global process server list */ |
33 |
|
|
34 |
|
extern PSERVER *addpserver(char *host, char *dir, char *usr, int np); |
35 |
+ |
extern void delpserver(PSERVER *ps); |
36 |
|
extern PSERVER *findjob(int *pnp); |
37 |
+ |
typedef int pscompfunc(PSERVER *ps, int pn, int status); |
38 |
+ |
extern int startjob(PSERVER *ps, char *command, pscompfunc *compf); |
39 |
+ |
extern int wait4job(PSERVER *ps, int pid); |
40 |
|
|
37 |
– |
extern char *myhostname(void); |
41 |
|
|
42 |
|
#define LHOSTNAME "localhost" /* accepted name for local host */ |
43 |
|
|