timeout

timeout — Manage timeouts.

Functions

Description

Functions

uc_timeout_domains_init ()

void
uc_timeout_domains_init (void);

Initialisation of timeout_domains stuff.


uc_timeout_domains_free ()

void
uc_timeout_domains_free (void);

Clean all timeout domains stuff.


uc_timeout_domains_register ()

void
uc_timeout_domains_register (const gchar *domain);

Register a new host. Just increment timeout count if the host already exist. If not, create a new entry for this host.

Parameters

domain

The host.

 

uc_timeout_domains_is_blocked ()

gboolean
uc_timeout_domains_is_blocked (const gchar *domain);

Check if a given host must not be checked anymore because of too many timeouts.

Parameters

domain

The host.

 

Returns

TRUE if the given host must not be checked anymore.

Types and Values