Greenbone Vulnerability Manager
22.4.0~dev1
|
GVM GMP layer: DELETE commands. More...
#include "gmp_delete.h"
#include "gmp_base.h"
#include "manage_sql.h"
#include <stdlib.h>
#include <string.h>
Data Structures | |
struct | delete_t |
Command data for DELETE command. More... | |
Macros | |
#define | G_LOG_DOMAIN "md gmp" |
GLib log domain. | |
Functions | |
static void | delete_reset () |
Reset command data. | |
void | delete_start (const gchar *type, const gchar *type_capital, const gchar **attribute_names, const gchar **attribute_values) |
Handle start element. More... | |
void | delete_run (gmp_parser_t *gmp_parser, GError **error) |
Handle end element. More... | |
Variables | |
static delete_t | delete |
Parser callback data for DELETE command. | |
GVM GMP layer: DELETE commands.
Common DELETE command code for the GVM GMP layer.
void delete_run | ( | gmp_parser_t * | gmp_parser, |
GError ** | error | ||
) |
Handle end element.
[in] | gmp_parser | GMP parser. |
[in] | error | Error parameter. |
void delete_start | ( | const gchar * | type, |
const gchar * | type_capital, | ||
const gchar ** | attribute_names, | ||
const gchar ** | attribute_values | ||
) |
Handle start element.
[in] | type | Resource type. |
[in] | type_capital | Resource type, capitalised. |
[in] | attribute_names | All attribute names. |
[in] | attribute_values | All attribute values. |