#if !defined(_DECISION_H_) #define _DECISION_H_ 1 #include "xce/types.h" #include typedef enum { XCE_DECISION_NONE = 0, XCE_DECISION_DISPATCH, XCE_DECISION_PEND, XCE_DECISION_NEW_SESSION } xce_decision_op_t; typedef struct { xce_decision_op_t op; union { xce_job_alloc_t* alloc; xce_pendreason_t* reason; } u; } xce_decision_t; extern xce_decision_t* make_pend_decision(xce_pendreason_t*); extern xce_decision_t* make_dispatch_decision(xce_job_alloc_t*); #endif