20 lines
297 B
C
20 lines
297 B
C
#ifndef ERROPROCESS
|
|
#define EROPROCESS
|
|
typedef struct jobs
|
|
{
|
|
struct jobs* next;
|
|
int job;
|
|
}jobs;
|
|
|
|
|
|
typedef struct indiector
|
|
{
|
|
int status;//熔断标志位
|
|
int retreat_index;//退避指数
|
|
jobs *head_job;
|
|
jobs *rear_job;
|
|
}indiector;
|
|
|
|
int give_upjobs(indiector *self);
|
|
|
|
#endif |