save works

This commit is contained in:
Rongsong Shen 2026-03-02 12:14:30 +08:00
parent b748e30d20
commit f4b1ba4cd7
21 changed files with 373 additions and 324 deletions

View file

@ -2,11 +2,13 @@
#define _JOBJ_H_ 1
#include <rtti.h>
#include "xce/types.h"
extern job_submit_data_t* makeJobsub(job_submit_data_t*);
extern job_startinfo_t* makeJobstartinfo(job_startinfo_t*);
extern xce_job_t* makeJob(xce_job_t*);
extern job_t* makeJob(var, xce_job_t*);
extern int job_obj_init(int, int);
extern void job_obj_fini();

View file

@ -2,8 +2,10 @@
#define _QOBJ_H_ 1
#include <rtti.h>
#include "xce/types.h"
extern xce_queue_t *makeQueue(xce_queue_t*);
extern queue_t* makeQueue(var, xce_queue_t*);
#endif

View file

@ -2,8 +2,10 @@
#define _WOBJ_H_ 1
#include <rtti.h>
#include "xce/types.h"
extern xce_worker_t* makeWorker(xce_worker_t*);
extern worker_t* makeWorker(var, xce_worker_t*);
#endif

View file

@ -274,11 +274,11 @@ typedef struct {
} xce_res_account_t;
typedef struct {
xce_worker_t* host;
char hostkey[XCE_MAXKEY_LEN];
endpoint_t* ep;
int idx;
zarray_t usages;
xce_worker_t host;
char hostkey[XCE_MAXKEY_LEN];
endpoint_t* ep;
int idx;
zarray_t usages;
} worker_t;
typedef struct {
@ -470,7 +470,7 @@ typedef struct {
} xce_job_t;
typedef struct {
xce_job_t* job;
xce_job_t job;
} job_t;
typedef struct {
@ -517,7 +517,7 @@ typedef struct {
} xce_queue_t;
typedef struct {
xce_queue_t* queue;
xce_queue_t queue;
} queue_t;
typedef struct {