aboutsummaryrefslogtreecommitdiff
path: root/include/jobs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/jobs.h')
-rw-r--r--include/jobs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/jobs.h b/include/jobs.h
index 37445c1..2e30547 100644
--- a/include/jobs.h
+++ b/include/jobs.h
@@ -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);