aboutsummaryrefslogblamecommitdiff
path: root/include/solver_util.h
blob: 5c5f5d2f6ad4bc244932082f04b53aea9d0593c2 (plain) (tree)
1
2
3
4
5
6
7
8

                   



                     
              
                          




                                                                                

  


                                                            

                     
#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 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