OpenVAS Scanner 23.23.1
heartbeat.h File Reference

heartbeat.c headerfile. More...

Go to the source code of this file.

Functions

int check_host_still_alive (kb_t, const char *)
 Check if the hosts is still alive and set it as dead if not.

Detailed Description

heartbeat.c headerfile.

Function Documentation

◆ check_host_still_alive()

int check_host_still_alive ( kb_t kb,
const char * hostname )

Check if the hosts is still alive and set it as dead if not.

Parameters
kbHost kb where the host is set as dead.
Returns
1 if considered alive, 0 if it is dead. -1 on error or option disabled.