OpenVAS Libraries  6.0+beta5
Functions
hg_filter.h File Reference

Go to the source code of this file.

Functions

int hg_filter_host (struct hg_globals *, char *, struct in_addr)
 
int hg_filter_subnet (struct hg_globals *, struct in_addr, int)
 Returns 1 if the subnet must NOT be tested. More...
 
int hg_filter_domain (struct hg_globals *, char *)
 Returns 1 if the domain must NOT be tested. More...
 

Function Documentation

int hg_filter_domain ( struct hg_globals globals,
char *  domain 
)

Returns 1 if the domain must NOT be tested.

Returns
1 if the domain must NOT be tested.
int hg_filter_host ( struct hg_globals globals,
char *  hostname,
struct in_addr  addr 
)

Returns 1 if the host must be filtered, that is, it must NOT be included in the list. Returns 0 if it must be included in the list.

Returns
0 if host must be included, 1 host must not be included
int hg_filter_subnet ( struct hg_globals globals,
struct in_addr  addr,
int  netmask 
)

Returns 1 if the subnet must NOT be tested.

Returns
1 if the subnet must not be tested.