Greenbone Vulnerability Manager
22.4.0~dev1
|
GVM GMP layer: License information headers. More...
#include "gmp_base.h"
#include "manage.h"
Go to the source code of this file.
Functions | |
void | get_tls_certificates_start (const gchar **, const gchar **) |
Handle command start element. More... | |
void | get_tls_certificates_run (gmp_parser_t *, GError **) |
Handle end element. More... | |
void | create_tls_certificate_start (gmp_parser_t *, const gchar **, const gchar **) |
Start a command. More... | |
void | create_tls_certificate_element_start (gmp_parser_t *, const gchar *, const gchar **, const gchar **) |
Start element. More... | |
int | create_tls_certificate_element_end (gmp_parser_t *, GError **error, const gchar *) |
End element. More... | |
void | create_tls_certificate_element_text (const gchar *, gsize) |
Add text to element. More... | |
void | modify_tls_certificate_start (gmp_parser_t *, const gchar **, const gchar **) |
Start a command. More... | |
void | modify_tls_certificate_element_start (gmp_parser_t *, const gchar *, const gchar **, const gchar **) |
Start element. More... | |
int | modify_tls_certificate_element_end (gmp_parser_t *, GError **error, const gchar *) |
End element. More... | |
void | modify_tls_certificate_element_text (const gchar *, gsize) |
Add text to element. More... | |
gchar * | tls_certificate_origin_extra_xml (const char *, const char *, const char *) |
Generate extra XML for special TLS certificate origins like reports. More... | |
GVM GMP layer: License information headers.
GVM GMP layer: TLS Certificates headers.
Headers for GMP handling of license information.
Headers for GMP handling of TLS Certificates.
int create_tls_certificate_element_end | ( | gmp_parser_t * | gmp_parser, |
GError ** | error, | ||
const gchar * | name | ||
) |
End element.
[in] | gmp_parser | GMP parser. |
[in] | error | Error parameter. |
[in] | name | Element name. |
void create_tls_certificate_element_start | ( | gmp_parser_t * | gmp_parser, |
const gchar * | name, | ||
const gchar ** | attribute_names, | ||
const gchar ** | attribute_values | ||
) |
Start element.
[in] | gmp_parser | GMP parser. |
[in] | name | Element name. |
[in] | attribute_names | All attribute names. |
[in] | attribute_values | All attribute values. |
void create_tls_certificate_element_text | ( | const gchar * | text, |
gsize | text_len | ||
) |
Add text to element.
[in] | text | Text. |
[in] | text_len | Text length. |
void create_tls_certificate_start | ( | gmp_parser_t * | gmp_parser, |
const gchar ** | attribute_names, | ||
const gchar ** | attribute_values | ||
) |
Start a command.
[in] | gmp_parser | GMP parser. |
[in] | attribute_names | All attribute names. |
[in] | attribute_values | All attribute values. |
void get_tls_certificates_run | ( | gmp_parser_t * | gmp_parser, |
GError ** | error | ||
) |
Handle end element.
[in] | gmp_parser | GMP parser. |
[in] | error | Error parameter. |
void get_tls_certificates_start | ( | const gchar ** | attribute_names, |
const gchar ** | attribute_values | ||
) |
Handle command start element.
[in] | attribute_names | All attribute names. |
[in] | attribute_values | All attribute values. |
int modify_tls_certificate_element_end | ( | gmp_parser_t * | gmp_parser, |
GError ** | error, | ||
const gchar * | name | ||
) |
End element.
[in] | gmp_parser | GMP parser. |
[in] | error | Error parameter. |
[in] | name | Element name. |
void modify_tls_certificate_element_start | ( | gmp_parser_t * | gmp_parser, |
const gchar * | name, | ||
const gchar ** | attribute_names, | ||
const gchar ** | attribute_values | ||
) |
Start element.
[in] | gmp_parser | GMP parser. |
[in] | name | Element name. |
[in] | attribute_names | All attribute names. |
[in] | attribute_values | All attribute values. |
void modify_tls_certificate_element_text | ( | const gchar * | text, |
gsize | text_len | ||
) |
Add text to element.
[in] | text | Text. |
[in] | text_len | Text length. |
void modify_tls_certificate_start | ( | gmp_parser_t * | gmp_parser, |
const gchar ** | attribute_names, | ||
const gchar ** | attribute_values | ||
) |
Start a command.
[in] | gmp_parser | GMP parser. |
[in] | attribute_names | All attribute names. |
[in] | attribute_values | All attribute values. |
gchar* tls_certificate_origin_extra_xml | ( | const char * | origin_type, |
const char * | origin_id, | ||
const char * | origin_data | ||
) |
Generate extra XML for special TLS certificate origins like reports.
[in] | origin_type | The origin type (e.g. "Report") |
[in] | origin_id | The id of the origin resource (e.g. report id) |
[in] | origin_data | The extra origin data |