author | viric@llimona |
Sun, 25 Mar 2007 04:55:18 +0200 | |
changeset 23 | 96fcebb68510 |
parent 22 | afdc8410633f |
child 25 | e9e4babe6262 |
permissions | -rw-r--r-- |
3 | 1 |
|
2 |
||
3 |
struct msg; |
|
4 |
||
5 |
/* client.c */ |
|
6 |
void c_new_job(const char *command); |
|
8 | 7 |
void c_list_jobs(); |
3 | 8 |
int c_shutdown_server(); |
5 | 9 |
void c_wait_server_lines(); |
20
d85b4c0745fa
"-c" added, for clearing the finished tasks' list.
viric@llimona
parents:
19
diff
changeset
|
10 |
int c_clear_finished(); |
22 | 11 |
void c_wait_server_commands(const char *my_command, int store_output); |
12 |
void c_send_runjob_ok(int store_output, const char *ofname); |
|
3 | 13 |
|
14 |
/* jobs.c */ |
|
15 |
void s_list(int s); |
|
18 | 16 |
int s_newjob(int s, struct msg *m); |
3 | 17 |
void s_removejob(int jobid); |
19
5efc347cca8d
The finished jobs store the errorlevel, and can be listed.
viric@llimona
parents:
18
diff
changeset
|
18 |
void job_finished(int errorlevel); |
8 | 19 |
int next_run_job(); |
19
5efc347cca8d
The finished jobs store the errorlevel, and can be listed.
viric@llimona
parents:
18
diff
changeset
|
20 |
void s_mark_job_running(); |
20
d85b4c0745fa
"-c" added, for clearing the finished tasks' list.
viric@llimona
parents:
19
diff
changeset
|
21 |
void s_clear_finished(); |
22 | 22 |
void s_process_runjob_ok(int jobid, char *oname); |
3 | 23 |
|
24 |
/* msgdump.c */ |
|
25 |
void msgdump(const struct msg *m); |
|
26 |
||
27 |
/* server.c */ |
|
28 |
void server_main(); |
|
29 |
||
30 |
/* server_start.c */ |
|
31 |
int try_connect(int s); |
|
32 |
void wait_server_up(); |
|
33 |
void fork_server(); |
|
34 |
int ensure_server_up(); |
|
8 | 35 |
|
36 |
/* execute.c */ |
|
22 | 37 |
int run_job(const char *command, int store_output); |