pluginload.c header.
More...
#include "../misc/network.h"
#include "../misc/scanneraux.h"
#include <gvm/util/kb.h>
Go to the source code of this file.
◆ current_loading_plugins()
| int current_loading_plugins |
( |
void | | ) |
|
◆ destroy_loading_shm()
| void destroy_loading_shm |
( |
void | | ) |
|
◆ init_loading_shm()
| void init_loading_shm |
( |
void | | ) |
|
◆ nasl_file_check()
| int nasl_file_check |
( |
const char * | folder, |
|
|
const char * | filename ) |
Check a single .nasl/.inc file.
- Parameters
-
| folder | Path to the plugin folder. |
| filename | File-name of the plugin |
- Returns
- 0 on success, -1 on error.
◆ nasl_plugin_add()
| int nasl_plugin_add |
( |
const char * | folder, |
|
|
char * | filename ) |
Add one .nasl plugin to the plugin list.
It is parsed (via exec_nasl_script) and added to the cache
- Parameters
-
| folder | Path to the plugin folder. |
| filename | File-name of the plugin |
- Returns
- 0 on success, -1 on error.
◆ nasl_plugin_launch()
| int nasl_plugin_launch |
( |
struct scan_globals * | globals, |
|
|
struct in6_addr * | ip, |
|
|
GSList * | vhosts, |
|
|
kb_t | kb, |
|
|
const char * | oid ) |
◆ plugins_cache_init()
| int plugins_cache_init |
( |
void | | ) |
|
Main function for nvticache initialization without loading the plugins.
- Returns
- 0 on success, -1 on failure.
◆ plugins_init()
| int plugins_init |
( |
void | | ) |
|
main function for loading all the plugins
- Returns
- 0 on success, !=0 on failure.
◆ total_loading_plugins()
| int total_loading_plugins |
( |
void | | ) |
|