Files
chat_rebot-connect-with-one…/c/network/erroprocess/erroprocess.h
2026-02-09 09:32:42 +08:00

24 lines
374 B
C
Executable File

#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