blob: f1c8d411f8d2ed2760b4cc82a86b63c9d957b75b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include <stdint.h>
#include "jobs.h"
#ifndef SOLVER_UTIL_H
struct jobid {
struct job **jobs;
size_t filled, size;
uint32_t *cost;
/* user directly asked for this to be built, not a transitively acquired
* dependency */
bool *isdirect;
};
void jobid_free(struct jobid *jid);
int jobid_init(struct job_clist *q, struct jobid **job_ids);
int solver_fcfs(struct job **job, struct job_clist *q,
__attribute__((unused)) int32_t resources);
#define SOLVER_UTIL_H
#endif
|