Greenbone Vulnerability Manager  9.0.1
gmp_tls_certificates.h
Go to the documentation of this file.
1 /* Copyright (C) 2019 Greenbone Networks GmbH
2  *
3  * SPDX-License-Identifier: GPL-2.0-or-later
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License
7  * as published by the Free Software Foundation; either version 2
8  * of the 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 General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18  */
19 
27 #ifndef _GVMD_GMP_TLS_CERTIFICATES_H
28 #define _GVMD_GMP_TLS_CERTIFICATES_H
29 
30 #include "gmp_base.h"
31 #include "manage.h"
32 
33 void
34 get_tls_certificates_start (const gchar **, const gchar **);
35 
36 void
38 
39 void
40 create_tls_certificate_start (gmp_parser_t *, const gchar **, const gchar **);
41 
42 void
44  const gchar **, const gchar **);
45 
46 int
48  const gchar *);
49 
50 void
51 create_tls_certificate_element_text (const gchar *, gsize);
52 
53 void
54 modify_tls_certificate_start (gmp_parser_t *, const gchar **, const gchar **);
55 
56 void
58  const gchar **, const gchar **);
59 
60 int
62  const gchar *);
63 
64 void
65 modify_tls_certificate_element_text (const gchar *, gsize);
66 
67 gchar *
68 tls_certificate_origin_extra_xml (const char *, const char *, const char *);
69 
70 #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:837
void create_tls_certificate_element_start(gmp_parser_t *, const gchar *, const gchar **, const gchar **)
Start element.
Definition: gmp_tls_certificates.c:418
void modify_tls_certificate_element_start(gmp_parser_t *, const gchar *, const gchar **, const gchar **)
Start element.
Definition: gmp_tls_certificates.c:698
void get_tls_certificates_start(const gchar **, const gchar **)
Handle command start element.
Definition: gmp_tls_certificates.c:81
void modify_tls_certificate_start(gmp_parser_t *, const gchar **, const gchar **)
Start a command.
Definition: gmp_tls_certificates.c:675
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:871
void modify_tls_certificate_element_text(const gchar *, gsize)
Add text to element.
Definition: gmp_tls_certificates.c:856
int create_tls_certificate_element_end(gmp_parser_t *, GError **error, const gchar *)
End element.
Definition: gmp_tls_certificates.c:610
void create_tls_certificate_element_text(const gchar *, gsize)
Add text to element.
Definition: gmp_tls_certificates.c:629
void create_tls_certificate_start(gmp_parser_t *, const gchar **, const gchar **)
Start a command.
Definition: gmp_tls_certificates.c:399
void get_tls_certificates_run(gmp_parser_t *, GError **)
Handle end element.
Definition: gmp_tls_certificates.c:106
A handle on a GMP parser.
Definition: gmp_base.h:35