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

char* kb_item::name

Name of this knowledge base item.

struct kb_item* kb_item::next

Next item in list.

char kb_item::type

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: