OpenVAS Scanner 23.23.1
kb_cache.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Greenbone AG
2 * SPDX-FileCopyrightText: 1998-2007 Tenable Network Security, Inc.
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
11
12#ifndef MISC_KB_CACHE_H
13#define MISC_KB_CACHE_H
14#include <gvm/util/kb.h>
15
16void set_main_kb (kb_t);
17kb_t
18get_main_kb (void);
19
20#endif
kb_t get_main_kb(void)
gets the main_kb. @description returns the previously set main_kb; when asserts are enabled it will a...
Definition kb_cache.c:41
void set_main_kb(kb_t)
sets the shared database between ospd and openvas as a main_kb for further usage. @description this s...
Definition kb_cache.c:27