GVM GMP layer: DELETE commands.
More...
#include "gmp_delete.h"
#include "gmp_base.h"
#include "manage_sql.h"
#include <stdlib.h>
#include <string.h>
|
|
#define | G_LOG_DOMAIN "md gmp" |
| | GLib log domain.
|
| |
|
|
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.
|
| |
| void | delete_run (gmp_parser_t *gmp_parser, GError **error) |
| | Handle end element.
|
| |
|
|
static delete_t | delete |
| | Parser callback data for DELETE command.
|
| |
GVM GMP layer: DELETE commands.
Common DELETE command code for the GVM GMP layer.
◆ delete_run()
| void delete_run |
( |
gmp_parser_t * |
gmp_parser, |
|
|
GError ** |
error |
|
) |
| |
Handle end element.
- Parameters
-
| [in] | gmp_parser | GMP parser. |
| [in] | error | Error parameter. |
◆ delete_start()
| void delete_start |
( |
const gchar * |
type, |
|
|
const gchar * |
type_capital, |
|
|
const gchar ** |
attribute_names, |
|
|
const gchar ** |
attribute_values |
|
) |
| |
Handle start element.
- Parameters
-
| [in] | type | Resource type. |
| [in] | type_capital | Resource type, capitalised. |
| [in] | attribute_names | All attribute names. |
| [in] | attribute_values | All attribute values. |