Greenbone Vulnerability Management Libraries: base/strings.h Source File

Greenbone Vulnerability Management Libraries 23.1.2

strings.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2009-2023 Greenbone AG
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later
4 */
5
10
11#ifndef _GVM_BASE_STRINGS_H
12#define _GVM_BASE_STRINGS_H
13
14#include <glib.h>
15
16void
17 gvm_append_string (gchar **, const gchar *);
18void
19 gvm_append_text (gchar **, const gchar *, gsize);
20void
21 gvm_free_string_var (gchar **);
22
23char *
24 gvm_strip_space (char *, char *);
25
26#endif /* not _GVM_BASE_STRINGS_H */
gvm_strip_space
char * gvm_strip_space(char *, char *)
"Strip" space and newline characters from either end of some memory.
Definition strings.c:108
gvm_append_text
void gvm_append_text(gchar **, const gchar *, gsize)
Append a string of a known length to a string variable.
Definition strings.c:66
gvm_append_string
void gvm_append_string(gchar **, const gchar *)
Append a string to a string variable.
Definition strings.c:36
gvm_free_string_var
void gvm_free_string_var(gchar **)
Free a string variable.
Definition strings.c:87