OpenVAS Libraries  4.0+rc3.SVN
Functions
hg/hosts_gatherer.c File Reference
#include <arpa/inet.h>
#include <stdlib.h>
#include <string.h>
#include "hosts_gatherer.h"
#include "hg_add_hosts.h"
#include "hg_subnet.h"
#include "hg_utils.h"
#include "hg_filter.h"
#include "hg_dns_axfr.h"

Functions

int hg_test_syntax (char *hostname, int flags)
struct hg_globalshg_init (char *hostname, int flags)
int hg_next_host (struct hg_globals *globals, struct in6_addr *ip, char *hostname, int sz)
void hg_cleanup (struct hg_globals *globals)
 Frees all the hosts and info associated to the hg_globals globals.

Detailed Description

The host gatherer library.


Function Documentation

struct hg_globals* hg_init ( char *  hostname,
int  flags 
) [read]

Inits a hg_globals struct with hostname and flags.

Returns:
Fresh hg_globals.