OpenVAS Libraries  8.0.3
Data Fields
kb_operations Struct Reference

KB interface. Functions provided by an implementation. All functions have to be provided, there is no default/fallback. These functions should be called via the corresponding static inline wrappers below. See the wrappers for the documentation. More...

#include <kb.h>

Data Fields

int(* kb_new )(kb_t *, const char *)
 
int(* kb_delete )(kb_t)
 
struct kb_item *(* kb_get_single )(kb_t, const char *, enum kb_item_type)
 
char *(* kb_get_str )(kb_t, const char *)
 
int(* kb_get_int )(kb_t, const char *)
 
struct kb_item *(* kb_get_all )(kb_t, const char *)
 
struct kb_item *(* kb_get_pattern )(kb_t, const char *)
 
int(* kb_add_str )(kb_t, const char *, const char *)
 
int(* kb_set_str )(kb_t, const char *, const char *)
 
int(* kb_add_int )(kb_t, const char *, int)
 
int(* kb_set_int )(kb_t, const char *, int)
 
int(* kb_del_items )(kb_t, const char *)
 
int(* kb_lnk_reset )(kb_t)
 
int(* kb_flush )(kb_t)
 

Detailed Description

KB interface. Functions provided by an implementation. All functions have to be provided, there is no default/fallback. These functions should be called via the corresponding static inline wrappers below. See the wrappers for the documentation.

Field Documentation

int(* kb_operations::kb_add_int) (kb_t, const char *, int)
int(* kb_operations::kb_add_str) (kb_t, const char *, const char *)
int(* kb_operations::kb_del_items) (kb_t, const char *)
int(* kb_operations::kb_delete) (kb_t)
int(* kb_operations::kb_flush) (kb_t)
struct kb_item*(* kb_operations::kb_get_all) (kb_t, const char *)
int(* kb_operations::kb_get_int) (kb_t, const char *)
struct kb_item*(* kb_operations::kb_get_pattern) (kb_t, const char *)
struct kb_item*(* kb_operations::kb_get_single) (kb_t, const char *, enum kb_item_type)
char*(* kb_operations::kb_get_str) (kb_t, const char *)
int(* kb_operations::kb_lnk_reset) (kb_t)
int(* kb_operations::kb_new) (kb_t *, const char *)
int(* kb_operations::kb_set_int) (kb_t, const char *, int)
int(* kb_operations::kb_set_str) (kb_t, const char *, const char *)

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