OpenVAS Libraries  6.0+beta5
Functions | Variables
test.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <arpa/inet.h>
#include "network.h"
#include "hosts_gatherer.h"

Functions

int main (int argc, char *argv[])
 

Variables

int optind
 

Detailed Description

Compile with "make test" after openvas-libraries are installed.

The purpose of this little program is to demonstrate how to use the "hosts_gatherer library".

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Variable Documentation

int optind