OpenVAS Scanner  6.0.1
Functions
pluginlaunch.h File Reference

pluginlaunch.c header. More...

#include "pluginload.h"
#include "pluginscheduler.h"

Go to the source code of this file.

Functions

void pluginlaunch_init (const char *)
 
void pluginlaunch_wait (kb_t)
 Waits and 'pushes' processes until num_running_processes is 0. More...
 
void pluginlaunch_wait_for_free_process (kb_t)
 Waits and 'pushes' processes until the number of running processes has changed. More...
 
void pluginlaunch_stop ()
 
int plugin_launch (struct scan_globals *, struct scheduler_plugin *, struct in6_addr *, GSList *, kb_t, nvti_t *)
 
void pluginlaunch_disable_parallel_checks (void)
 
void pluginlaunch_enable_parallel_checks (void)
 
int wait_for_children (void)
 

Detailed Description

pluginlaunch.c header.

Function Documentation

◆ plugin_launch()

int plugin_launch ( struct scan_globals globals,
struct scheduler_plugin plugin,
struct in6_addr *  ip,
GSList *  vhosts,
kb_t  kb,
nvti_t *  nvti 
)
Returns
PID of process that is connected to the plugin as returned by plugin classes pl_launch function (<=0 means there was a problem).

◆ pluginlaunch_disable_parallel_checks()

void pluginlaunch_disable_parallel_checks ( void  )

◆ pluginlaunch_enable_parallel_checks()

void pluginlaunch_enable_parallel_checks ( void  )

◆ pluginlaunch_init()

void pluginlaunch_init ( const char *  )

◆ pluginlaunch_stop()

void pluginlaunch_stop ( )

◆ pluginlaunch_wait()

void pluginlaunch_wait ( kb_t  )

Waits and 'pushes' processes until num_running_processes is 0.

◆ pluginlaunch_wait_for_free_process()

void pluginlaunch_wait_for_free_process ( kb_t  )

Waits and 'pushes' processes until the number of running processes has changed.

◆ wait_for_children()

int wait_for_children ( void  )