summaryrefslogblamecommitdiff
path: root/include/solver_util.h
blob: 08f7f162ab485eb9475089f1c8f46ef09b1e7314 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                   



                     
              
                          

                            
                                                                                

                        

  


                                                            

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

#define SOLVER_UTIL_H
#endif