OpenVAS Scanner  6.0.0~git
Functions
utils.h File Reference

utils.c headerfile. More...

#include <sys/types.h>

Go to the source code of this file.

Functions

int is_otp_scan (void)
 Check the scan type. More...
 
void set_scan_type (int)
 Set the scan type. More...
 
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 *)
 
void send_printf (int, char *,...) __attribute__((format(printf
 

Detailed Description

utils.c headerfile.

Function Documentation

◆ data_left()

int data_left ( int  )

◆ get_max_checks_number()

int get_max_checks_number ( void  )

Get the max number of plugins to launch against the remote host at the same time

◆ get_max_hosts_number()

int get_max_hosts_number ( void  )

Get the max number of hosts to test at the same time.

◆ is_otp_scan()

int is_otp_scan ( void  )

Check the scan type.

Returns
1 if OTP type, 0 if OSP.

◆ is_scanner_only_pref()

int is_scanner_only_pref ( const char *  )

◆ process_alive()

int process_alive ( pid_t  pid)

Determines if a process is alive - as reliably as we can

◆ send_printf()

void send_printf ( int  ,
char *  ,
  ... 
)

◆ set_scan_type()

void set_scan_type ( int  )

Set the scan type.

◆ wait_for_children1()

void wait_for_children1 ( void  )