Typo: occured -> occurred
[lttng-tools.git] / src / common / string-utils / string-utils.h
CommitLineData
9c55c241
PP
1/*
2 * Copyright (C) 2017 - Philippe Proulx <pproulx@efficios.com>
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License, version 2 only, as
6 * published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 * more details.
12 *
13 * You should have received a copy of the GNU General Public License along with
14 * this program; if not, write to the Free Software Foundation, Inc., 51
15 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16 */
17
18#ifndef _STRING_UTILS_H
19#define _STRING_UTILS_H
20
21#include <stdbool.h>
22
23void strutils_normalize_star_glob_pattern(char *pattern);
24bool strutils_is_star_glob_pattern(const char *pattern);
25bool strutils_is_star_at_the_end_only_glob_pattern(const char *pattern);
26char *strutils_unescape_string(const char *input, char only_char);
27char **strutils_split(const char *input, char delim, bool escape_delim);
28void strutils_free_null_terminated_array_of_strings(char **array);
29size_t strutils_array_of_strings_len(char * const *array);
30
31#endif /* _STRING_UTILS_H */
This page took 0.023097 seconds and 4 git commands to generate.