diff options
| author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-04 18:29:26 +0200 |
|---|---|---|
| committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-04 20:51:17 +0200 |
| commit | a892d9a21fb321b82cb74cba2ec617a4edd7e2c9 (patch) | |
| tree | 1774a176d1fbed474e8bfeea044703461745e86a /src/run_queue.h | |
| parent | tcp_server: always clean up connection descriptors (diff) | |
| download | cimple-a892d9a21fb321b82cb74cba2ec617a4edd7e2c9.tar.gz cimple-a892d9a21fb321b82cb74cba2ec617a4edd7e2c9.zip | |
storage: requeue old runs from storage on startup
Diffstat (limited to 'src/run_queue.h')
| -rw-r--r-- | src/run_queue.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/run_queue.h b/src/run_queue.h index 7f07819..74fcca6 100644 --- a/src/run_queue.h +++ b/src/run_queue.h @@ -14,13 +14,13 @@ struct run; -int run_create(struct run **, const char *url, const char *rev, int id); +int run_create(struct run **, int id, const char *url, const char *rev); int run_from_msg(struct run **, const struct msg *); void run_destroy(struct run *); +int run_get_id(const struct run *); const char *run_get_url(const struct run *); const char *run_get_rev(const struct run *); -int run_get_id(const struct run *); void run_set_id(struct run *, int id); |
