Greenbone Vulnerability Manager  9.0.1
Macros | Functions
manage_config_system_discovery.c File Reference

GVM management layer: Predefined config: System 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.
 

Functions

void make_config_system_discovery (char *const uuid, char *const selector_name)
 Make System Discovery Scan Config. More...
 
int check_config_system_discovery (const char *uuid)
 Ensure the Discovery config is up to date. More...
 

Detailed Description

GVM management layer: Predefined config: System Discovery.

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

Function Documentation

◆ check_config_system_discovery()

int check_config_system_discovery ( const char *  uuid)

Ensure the Discovery config is up to date.

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

◆ make_config_system_discovery()

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

Make System Discovery Scan Config.

Caller must lock the db.

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