Greenbone Vulnerability Manager 22.5.2
gmp_tls_certificates.h
Go to the documentation of this file.
1/* Copyright (C) 2019-2022 Greenbone AG
2 *
3 * SPDX-License-Identifier: AGPL-3.0-or-later
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Affero General Public License as
7 * published by the Free Software Foundation, either version 3 of the
8 * License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Affero General Public License for more details.
14 *
15 * You should have received a copy of the GNU Affero General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
26#ifndef _GVMD_GMP_TLS_CERTIFICATES_H
27#define _GVMD_GMP_TLS_CERTIFICATES_H
28
29#include "gmp_base.h"
30#include "manage.h"
31
32void
33get_tls_certificates_start (const gchar **, const gchar **);
34
35void
37
38void
39create_tls_certificate_start (gmp_parser_t *, const gchar **, const gchar **);
40
41void
43 const gchar **, const gchar **);
44
45int
47 const gchar *);
48
49void
50create_tls_certificate_element_text (const gchar *, gsize);
51
52void
53modify_tls_certificate_start (gmp_parser_t *, const gchar **, const gchar **);
54
55void
57 const gchar **, const gchar **);
58
59int
61 const gchar *);
62
63void
64modify_tls_certificate_element_text (const gchar *, gsize);
65
66gchar *
67tls_certificate_origin_extra_xml (const char *, const char *, const char *);
68
69#endif /* not _GVMD_GMP_TLS_CERTIFICATES_H */
int modify_tls_certificate_element_end(gmp_parser_t *, GError **error, const gchar *)
End element.
Definition: gmp_tls_certificates.c:836
void create_tls_certificate_element_start(gmp_parser_t *, const gchar *, const gchar **, const gchar **)
Start element.
Definition: gmp_tls_certificates.c:417
void modify_tls_certificate_element_start(gmp_parser_t *, const gchar *, const gchar **, const gchar **)
Start element.
Definition: gmp_tls_certificates.c:697
void get_tls_certificates_start(const gchar **, const gchar **)
Handle command start element.
Definition: gmp_tls_certificates.c:80
void modify_tls_certificate_start(gmp_parser_t *, const gchar **, const gchar **)
Start a command.
Definition: gmp_tls_certificates.c:674
gchar * tls_certificate_origin_extra_xml(const char *, const char *, const char *)
Generate extra XML for special TLS certificate origins like reports.
Definition: gmp_tls_certificates.c:870
void modify_tls_certificate_element_text(const gchar *, gsize)
Add text to element.
Definition: gmp_tls_certificates.c:855
int create_tls_certificate_element_end(gmp_parser_t *, GError **error, const gchar *)
End element.
Definition: gmp_tls_certificates.c:609
void create_tls_certificate_element_text(const gchar *, gsize)
Add text to element.
Definition: gmp_tls_certificates.c:628
void create_tls_certificate_start(gmp_parser_t *, const gchar **, const gchar **)
Start a command.
Definition: gmp_tls_certificates.c:398
void get_tls_certificates_run(gmp_parser_t *, GError **)
Handle end element.
Definition: gmp_tls_certificates.c:105
A handle on a GMP parser.
Definition: gmp_base.h:28