OpenVAS Libraries  4.0+rc3.SVN
Data Fields
kb_item Struct Reference

#include <kb.h>

Data Fields

char * name
char type
union {
   char *   v_str
   int   v_int
v
struct kb_itemnext

Detailed Description

Knowledge base item (defined by name, type (int/char*) and value). Implemented as a singly linked list


Field Documentation

Name of this knowledge base item.

Next item in list.

One of KB_TYPE_INT or KB_TYPE_STR.

union { ... } kb_item::v
Todo:
Check if this is safe. (What happens if char* and int have not the same size?)

Value of this knowledge base item.


The documentation for this struct was generated from the following file: