Remove BACKEND structure from readconnroute
The BACKEND structure in readconnroute is now replaced with the use of the SERVER_REF structure of the service. This allows dynamic changes to the list of servers to be made.
This commit is contained in:
@ -104,6 +104,9 @@ typedef struct server_ref_t
|
||||
bool active; /**< Whether this reference is valid and in use*/
|
||||
} SERVER_REF;
|
||||
|
||||
/** Macro to check whether a SERVER_REF is active */
|
||||
#define SERVER_REF_IS_ACTIVE(ref) (ref->active)
|
||||
|
||||
#define SERVICE_MAX_RETRY_INTERVAL 3600 /*< The maximum interval between service start retries */
|
||||
|
||||
/** Value of service timeout if timeout checks are disabled */
|
||||
|
Reference in New Issue
Block a user