diff options
Diffstat (limited to 'include/solver_util.h')
-rw-r--r-- | include/solver_util.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/include/solver_util.h b/include/solver_util.h index 99d5fcd..5c5f5d2 100644 --- a/include/solver_util.h +++ b/include/solver_util.h @@ -1,11 +1,20 @@ +#include <stdint.h> + #include "jobs.h" #ifndef SOLVER_UTIL_H -struct job_ids { +struct jobid { struct job **jobs; - ssize_t filled, size; + size_t filled, size; + uint32_t *cost; + /* user directly asked for this to be build, not a transitively acquired + * dependency */ + bool *isdirect; }; +void jobid_free(struct jobid *jid); +int jobid_init(struct job_clist *q, struct jobid **job_ids); + #define SOLVER_UTIL_H #endif |