From 8014e99ace2a22e6b5fedfd7a381329de475c91f Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Thu, 11 Jul 2024 15:08:57 +0530 Subject: job/job_cost: init --- include/jobs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/jobs.h b/include/jobs.h index dc6fc36..ecf9d96 100644 --- a/include/jobs.h +++ b/include/jobs.h @@ -45,6 +45,7 @@ int job_read(FILE *stream, struct job **jobs); /* Spawns nix-eval-jobs and connects its stdout to stream */ int jobs_init(FILE **stream, char *expr); void job_free(struct job *j); +int job_cost(struct job *job); int job_parents_list_insert(struct job *job, struct job *parent); void job_deps_list_rm(struct job *job, struct job *dep); void job_stale_set(struct job *job); -- cgit v1.2.3