strings.h
Go to the documentation of this file.
/* Copyright (C) 2009-2021 Greenbone Networks GmbH
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef _GVM_STRINGS_H
#define _GVM_STRINGS_H
#include <glib.h>
void
gvm_append_string (gchar **, const gchar *);
void
gvm_append_text (gchar **, const gchar *, gsize);
void
gvm_free_string_var (gchar **);
char *
gvm_strip_space (char *, char *);
#endif /* not _GVM_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:122
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:80
gvm_append_string
void gvm_append_string(gchar **, const gchar *)
Append a string to a string variable.
Definition: strings.c:50
gvm_free_string_var
void gvm_free_string_var(gchar **)
Free a string variable.
Definition: strings.c:101