30 lines
291 B
C
30 lines
291 B
C
|
|
#include "stdint.h"
|
|
|
|
|
|
typedef struct{
|
|
uint32_t max;
|
|
uint32_t min;
|
|
}item_def;
|
|
|
|
|
|
|
|
typedef struct
|
|
{
|
|
uint32_t item_num;
|
|
item_def data[0];
|
|
}task_def;
|
|
|
|
|
|
typedef struct
|
|
{
|
|
uint32_t plan_id;
|
|
uint32_t timeout_m;
|
|
uint32_t task_num;
|
|
task_def data[0];
|
|
}scheme_def;
|
|
|
|
|
|
|
|
|