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_plugin_add()
int nasl_plugin_add |
( |
char * |
folder, |
|
|
char * |
filename |
|
) |
| |
Add one .nasl plugin to the plugin list.
The plugin is first attempted to be loaded from the cache. If that fails, 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 * |
, |
|
|
struct in6_addr * |
, |
|
|
GSList * |
, |
|
|
kb_t |
, |
|
|
const char * |
|
|
) |
| |
◆ plugins_init()
int plugins_init |
( |
void |
| ) |
|
◆ total_loading_plugins()
int total_loading_plugins |
( |
void |
| ) |
|