Greenbone Vulnerability Manager  8.0.1~git
Macros | Functions
manage_config_host_discovery.c File Reference

GVM management layer: Predefined config: Host Discovery. More...

#include "manage.h"
#include "manage_sql.h"
#include "sql.h"
#include <assert.h>

Macros

#define G_LOG_DOMAIN   "md main"
 GLib log domain.
 
#define NAME   "Global variable settings[checkbox]:Strictly unauthenticated"
 Preference name.
 

Functions

void make_config_host_discovery (char *const uuid, char *const selector_name)
 Make Host Discovery Scan Config. More...
 
int check_config_host_discovery (const char *uuid)
 Ensure the Host Discovery config is up to date. More...
 

Detailed Description

GVM management layer: Predefined config: Host Discovery.

This file contains the creation of the predefined config Host Discovery.

Function Documentation

◆ check_config_host_discovery()

int check_config_host_discovery ( const char *  uuid)

Ensure the Host Discovery config is up to date.

Parameters
[in]uuidUUID of config.
Returns
0 success, -1 error.

◆ make_config_host_discovery()

void make_config_host_discovery ( char *const  uuid,
char *const  selector_name 
)

Make Host Discovery Scan Config.

Caller must lock the db.

Parameters
[in]uuidUUID for new scan config.
[in]selector_nameName of NVT selector to use.