int nvticache_get_category(const char *)
Get the Category from a plugin OID.
Definition: nvticache.c:361
char * nvticache_get_required_keys(const char *)
Get the Required Keys from a plugin OID.
Definition: nvticache.c:277
int nvticache_check(const gchar *)
Check if the nvt for the given filename exists in cache.
Definition: nvticache.c:114
The structure of a information record that corresponds to a NVT.
Definition: nvti.h:64
int nvticache_get_timeout(const char *)
Get the Timeout from a plugin OID.
Definition: nvticache.c:381
char * nvticache_get_dependencies(const char *)
Get the Dependencies from a plugin OID.
Definition: nvticache.c:347
GSList * nvticache_get_oids(void)
Get the list of nvti OIDs.
Definition: nvticache.c:548
char * nvticache_get_tags(const char *)
Get the tags from a plugin OID.
Definition: nvticache.c:499
char * nvticache_get_oid(const char *)
Get the OID from a plugin filename.
Definition: nvticache.c:232
kb_t nvticache_get_kb()
Return the nvticache kb.
Definition: nvticache.c:97
int nvticache_add(const nvti_t *, const char *)
Add a NVT Information to the cache.
Definition: nvticache.c:157
char * nvticache_get_bids(const char *)
Get the bids from a plugin OID.
Definition: nvticache.c:457
char * nvticache_get_required_ports(const char *)
Get the Required ports from a plugin OID.
Definition: nvticache.c:333
char * nvticache_get_src(const char *)
Get the full source filename of an OID.
Definition: nvticache.c:210
int nvticache_init(const char *, const char *)
Initializes the nvti cache.
Definition: nvticache.c:73
Top-level KB. This is to be inherited by KB implementations.
Definition: kb.h:102
char * nvticache_get_copyright(const char *)
Get the copyright from a plugin OID.
Definition: nvticache.c:429
Protos and data structures for NVT Information data sets.
nvti_t * nvticache_get_by_oid_full(const char *)
char * nvticache_get_excluded_keys(const char *)
Get the Excluded Keys from a plugin OID.
Definition: nvticache.c:305
char * nvticache_get_required_udp_ports(const char *)
Get the Required udp ports from a plugin OID.
Definition: nvticache.c:319
int nvticache_initialized(void)
Return whether the nvt cache is initialized.
Definition: nvticache.c:60
void nvticache_free(void)
char * nvticache_get_xrefs(const char *)
Get the xrefs from a plugin OID.
Definition: nvticache.c:471
char * nvticache_get_filename(const char *)
Get the filename from a plugin OID.
Definition: nvticache.c:263
GSList * nvticache_get_prefs(const char *)
Get the prefs from a plugin OID.
Definition: nvticache.c:513
char * nvticache_get_name(const char *)
Get the name from a plugin OID.
Definition: nvticache.c:401
GSList * nvticache_get_names(void)
char * nvticache_get_version(const char *)
Get the version from a plugin OID.
Definition: nvticache.c:415
nvti_t * nvticache_get_by_name_full(const char *)
char * nvticache_get_family(const char *)
Get the family from a plugin OID.
Definition: nvticache.c:485
char * nvticache_get_mandatory_keys(const char *)
Get the Mandatory Keys from a plugin OID.
Definition: nvticache.c:291
char * nvticache_get_cves(const char *)
Get the cves from a plugin OID.
Definition: nvticache.c:443
void nvticache_reset()
Reset connection to KB. To be called after a fork().
Definition: nvticache.c:138