From d4e47fdb640c3ddce285157eee88db899461fa3a Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 4 Jul 2023 20:51:29 +0200 Subject: storage: mark completed runs as such --- src/run_queue.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/run_queue.h') diff --git a/src/run_queue.h b/src/run_queue.h index 74fcca6..df716a4 100644 --- a/src/run_queue.h +++ b/src/run_queue.h @@ -15,9 +15,11 @@ struct run; 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_from_msg(struct run **, const struct msg *); +int run_from_msg_unknown_id(struct run **, const struct msg *); + int run_get_id(const struct run *); const char *run_get_url(const struct run *); const char *run_get_rev(const struct run *); -- cgit v1.2.3