diff options
| author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-11-15 13:50:15 +0100 |
|---|---|---|
| committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-11-15 14:03:11 +0100 |
| commit | 992ac5301fc8727d83017b242af2df9895eebfcc (patch) | |
| tree | 4fdd21a61b54d368540d6ef65258f97473051381 /src/protocol.h | |
| parent | client: print the server response (diff) | |
| download | cimple-992ac5301fc8727d83017b242af2df9895eebfcc.tar.gz cimple-992ac5301fc8727d83017b242af2df9895eebfcc.zip | |
implement a command to list runs
Diffstat (limited to 'src/protocol.h')
| -rw-r--r-- | src/protocol.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/protocol.h b/src/protocol.h index 220eead..53b4acb 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -24,4 +24,10 @@ int request_parse_start_run(const struct jsonrpc_request *, struct run **); int request_create_finished_run(struct jsonrpc_request **, int run_id, const struct proc_output *); int request_parse_finished_run(const struct jsonrpc_request *, int *run_id, struct proc_output **); +int request_create_get_runs(struct jsonrpc_request **); +int request_parse_get_runs(const struct jsonrpc_request *); + +int response_create_get_runs(struct jsonrpc_response **, const struct jsonrpc_request *, + const struct run_queue *); + #endif |
