save works

This commit is contained in:
Rongsong Shen 2025-12-22 18:24:43 +08:00
parent c1e42b1ee2
commit cd0bca3138
8 changed files with 127 additions and 6 deletions

View file

@ -3,6 +3,7 @@
#define _DECISION_H_ 1
#include "xce/types.h"
#include <stdint.h>
typedef enum {
XCE_DECISION_NONE = 0,
@ -13,9 +14,13 @@ typedef enum {
typedef struct {
xce_decision_op_t op;
uint64_t jobid;
union {
xce_job_alloc_t* alloc;
} u;
} xce_decision_t;
extern xce_decision_t* make_pend_decision(uint64_t);
extern xce_decision_t* make_dispatch_decision(xce_job_alloc_t*);
#endif