aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-07-11 15:08:57 +0530
committersinanmohd <sinan@sinanmohd.com>2024-07-11 15:08:57 +0530
commit8014e99ace2a22e6b5fedfd7a381329de475c91f (patch)
tree74d569aac056fcc20261815f549619bdae07dbe0 /include
parent3529fffd7e4e15122090bbd534c27b2f5a3a180c (diff)
job/job_cost: init
Diffstat (limited to 'include')
-rw-r--r--include/jobs.h1
1 files changed, 1 insertions, 0 deletions
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);