diff options
author | Sinan Mohd <sinan@sinanmohd.com> | 2024-06-28 18:17:52 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-28 18:17:52 +0530 |
commit | aca945d03814af570a03f1f376c8ece092c6eba8 (patch) | |
tree | 2296af3fe875c525fdf70575338c148e0bf0940c /include/jobs.h | |
parent | f93d74d857bdb006fbd4d6691b058985dd2e6e51 (diff) | |
parent | 4b43a81d6082b7c6fe70234a5df912b3218bee05 (diff) |
Merge pull request #2 from SomeoneSerge/review/round1
review: round 1
Diffstat (limited to 'include/jobs.h')
-rw-r--r-- | include/jobs.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/jobs.h b/include/jobs.h index 37445c1..7390306 100644 --- a/include/jobs.h +++ b/include/jobs.h @@ -10,7 +10,7 @@ struct output { struct job { char *name, *drv_path, *attr; - bool transitive; + bool scheduled; bool insubstituters; size_t outputs_size, outputs_filled; @@ -36,7 +36,8 @@ typedef enum { } job_read_state_t; int job_read(FILE *stream, struct job **jobs); -int jobs_init(FILE **stream, char *expr); +/* Spawns nix-eval-jobs and connects its stdout to stream */ +int jobs_init(FILE **stream, const char *expr); void job_free(struct job *j); int job_parents_list_insert(struct job *job, struct job *parent); void job_deps_list_rm(struct job *job, struct job *dep); |