OpenVAS Libraries  7.0.6
Functions
scanners_utils.c File Reference
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <glib.h>
#include "network.h"
#include "internal_com.h"
#include "system.h"

Functions

int comm_send_status (struct arglist *globals, char *hostname, char *action, int curr, int max)
 Sends the status of an action. More...
 
unsigned short * getpts (char *origexpr, int *len)
 Converts a string like "-100,200-1024,3000-4000,60000-" into an array. More...
 

Function Documentation

int comm_send_status ( struct arglist globals,
char *  hostname,
char *  action,
int  curr,
int  max 
)

Sends the status of an action.

unsigned short* getpts ( char *  origexpr,
int *  len 
)

Converts a string like "-100,200-1024,3000-4000,60000-" into an array.

of port numbers

This function is (c) Fyodor fyodo.nosp@m.r@dh.nosp@m.p.com and was taken from his excellent and outstanding scanner Nmap See http://www.insecure.org/nmap/ for details about Nmap