int nvticache_get_category(const char *)
Get the Category from a plugin OID.
Definition: nvticache.c:488
int nvticache_init(const char *, const char *, const char *)
Initializes the nvti cache.
Definition: nvticache.c:73
char * nvticache_get_required_keys(const char *)
Get the Required Keys from a plugin OID.
Definition: nvticache.c:380
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:506
char * nvticache_get_dependencies(const char *)
Get the Dependencies from a plugin OID.
Definition: nvticache.c:470
GSList * nvticache_get_oids(void)
Get the list of nvti OIDs.
Definition: nvticache.c:548
nvti_t * nvticache_get(const gchar *)
Retrieve NVT Information from the nvt cache for the given filename.
Definition: nvticache.c:111
char * nvticache_get_oid(const char *)
Get the OID from a plugin filename.
Definition: nvticache.c:331
int nvticache_add(const nvti_t *, const char *)
Add a NVT Information to the cache.
Definition: nvticache.c:232
char * nvticache_get_required_ports(const char *)
Get the Required ports from a plugin OID.
Definition: nvticache.c:452
char * nvticache_get_src(const char *)
Get the full source filename of an OID.
Definition: nvticache.c:308
Protos and data structures for NVT Information data sets.
nvti_t * nvticache_get_by_oid_full(const char *)
Get a full NVTI from the cache by OID.
Definition: nvticache.c:283
char * nvticache_get_excluded_keys(const char *)
Get the Excluded Keys from a plugin OID.
Definition: nvticache.c:416
char * nvticache_get_required_udp_ports(const char *)
Get the Required udp ports from a plugin OID.
Definition: nvticache.c:434
int nvticache_initialized(void)
Return whether the nvt cache is initialized.
Definition: nvticache.c:60
void nvticache_free(void)
Free the nvti cache.
Definition: nvticache.c:91
char * nvticache_get_name(const char *)
Get the name from a plugin OID.
Definition: nvticache.c:362
GSList * nvticache_get_names(void)
Get the list of nvti filenames.
Definition: nvticache.c:522
nvti_t * nvticache_get_by_name_full(const char *)
Get a full NVTI from the cache file by filename.
Definition: nvticache.c:258
char * nvticache_get_mandatory_keys(const char *)
Get the Mandatory Keys from a plugin OID.
Definition: nvticache.c:398
void nvticache_reset()
Reset connection to KB. To be called after a fork().
Definition: nvticache.c:213