aboutsummaryrefslogtreecommitdiff
path: root/include/jobid.h
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-07-23 07:12:00 +0530
committersinanmohd <sinan@sinanmohd.com>2024-07-23 07:13:54 +0530
commit9d292f7e22e1af751918a5ed002a90b69adf9545 (patch)
treee77aaf6109dddc3e603d3caa342bdd9dc2e94939 /include/jobid.h
parentb6e392ce2d661eaa3adeaed44e133da9d99f95f3 (diff)
solver_util -> jobid
Diffstat (limited to 'include/jobid.h')
-rw-r--r--include/jobid.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/jobid.h b/include/jobid.h
new file mode 100644
index 0000000..980c85c
--- /dev/null
+++ b/include/jobid.h
@@ -0,0 +1,16 @@
+#include <stdint.h>
+
+#include "jobs.h"
+
+#ifndef SOLVER_UTIL_H
+
+struct jobid {
+ struct job **jobs;
+ size_t filled, size;
+};
+
+void jobid_free(struct jobid *jid);
+int jobid_init(struct job_clist *q, struct jobid **jobid);
+
+#define SOLVER_UTIL_H
+#endif