OpenVAS Scanner
7.0.0~git
|
#include <sys/types.h>
Go to the source code of this file.
Functions | |
int | get_max_hosts_number (void) |
int | get_max_checks_number (void) |
int | process_alive (pid_t) |
int | data_left (int) |
void | wait_for_children1 (void) |
int | is_scanner_only_pref (const char *) |
int | store_file (struct scan_globals *, const char *, const char *) |
Stores a file type preference in a hash table. More... | |
int data_left | ( | int | ) |
int get_max_checks_number | ( | void | ) |
Get the max number of plugins to launch against the remote host at the same time
Definition at line 174 of file utils.c.
References global_max_checks.
Referenced by attack_network(), and pluginlaunch_init().
int get_max_hosts_number | ( | void | ) |
Get the max number of hosts to test at the same time.
Definition at line 143 of file utils.c.
References global_max_hosts.
Referenced by attack_network().
int process_alive | ( | pid_t | pid | ) |
Determines if a process is alive - as reliably as we can
Definition at line 204 of file utils.c.
References pid.
Referenced by attack_host(), next_free_process(), and update_running_processes().
int store_file | ( | struct scan_globals * | globals, |
const char * | file, | ||
const char * | file_hash | ||
) |
Stores a file type preference in a hash table.
globals | Global struct. |
file | File content. |
file_hash | hash to reference the file. |
Definition at line 110 of file utils.c.
References files_add_size_translation(), and files_add_translation().
Referenced by load_scan_preferences().