Greenbone Vulnerability Manager
22.4.0~dev1
|
GVM manage layer: GET utils. More...
#include "manage_get.h"
#include "manage_sql.h"
#include "sql.h"
#include <stdlib.h>
#include <string.h>
Functions | |
void | get_data_reset (get_data_t *data) |
Reset command data. More... | |
const char * | get_data_get_extra (const get_data_t *data, const char *name) |
Retrieves a type-specific extra parameter from a get_data_t. More... | |
void | get_data_set_extra (get_data_t *data, const char *name, const char *value) |
Sets a type-specific extra parameter in a get_data_t. More... | |
resource_t | get_iterator_resource (iterator_t *iterator) |
Get the resource from a GET iterator. More... | |
const char * | get_iterator_comment (iterator_t *iterator) |
Get the comment from a GET iterator. More... | |
user_t | get_iterator_owner (iterator_t *iterator) |
Get the owner from a GET iterator. More... | |
GVM manage layer: GET utils.
const char* get_data_get_extra | ( | const get_data_t * | data, |
const char * | name | ||
) |
Retrieves a type-specific extra parameter from a get_data_t.
[in] | data | The get data to add the parameter to. |
[in] | name | Name of the parameter to add. |
void get_data_reset | ( | get_data_t * | data | ) |
Reset command data.
[in] | data | Command data. |
void get_data_set_extra | ( | get_data_t * | data, |
const char * | name, | ||
const char * | value | ||
) |
Sets a type-specific extra parameter in a get_data_t.
The names and values will be duplicated.
[in] | data | The get data to add the parameter to. |
[in] | name | Name of the parameter to add. |
[in] | value | Value of the parameter to add. |
const char* get_iterator_comment | ( | iterator_t * | iterator | ) |
Get the comment from a GET iterator.
[in] | iterator | Iterator. |
user_t get_iterator_owner | ( | iterator_t * | iterator | ) |
Get the owner from a GET iterator.
[in] | iterator | Iterator. |
resource_t get_iterator_resource | ( | iterator_t * | iterator | ) |
Get the resource from a GET iterator.
[in] | iterator | Iterator. |