OpenVAS Scanner  22.7.9
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 
12 #ifndef MISC_KB_CACHE_H
13 #define MISC_KB_CACHE_H
14 #include <gvm/util/kb.h>
15 
16 void set_main_kb (kb_t);
17 kb_t
18 get_main_kb (void);
19 
20 #endif
get_main_kb
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
set_main_kb
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