#ifndef ERROPROCESS #define ERROPROCESS #define BASE_INDIECTOR 2 #define MAX_index 5 #define CIR_TIME 20 typedef struct jobs { struct jobs* next; int job; }jobs; typedef struct indiector { int status;//熔断标志位 int retreat_index;//退避指数 jobs *head_job; jobs *rear_job; int (*give_upjobs)(struct indiector *); }indiector; #endif