X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=blobdiff_plain;f=lttng-string-utils.h;h=0f8ba793cc154b59066f8f055f2b2aad0f284f97;hp=3e7267e9f17eabac2e383f4aaccee7f416dc0c6d;hb=HEAD;hpb=b7cdc18250880cc44edeef4a4b42c8ac7a135a6d diff --git a/lttng-string-utils.h b/lttng-string-utils.h deleted file mode 100644 index 3e7267e9..00000000 --- a/lttng-string-utils.h +++ /dev/null @@ -1,23 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ -#ifndef _LTTNG_STRING_UTILS_H -#define _LTTNG_STRING_UTILS_H - -/* - * Copyright (C) 2017 Philippe Proulx - */ - -#include - -typedef char (*strutils_get_char_at_cb)(size_t, void *); - -bool strutils_is_star_glob_pattern(const char *pattern); -bool strutils_is_star_at_the_end_only_glob_pattern(const char *pattern); -bool strutils_star_glob_match(const char *pattern, size_t pattern_len, - const char *candidate, size_t candidate_len); -bool strutils_star_glob_match_char_cb( - strutils_get_char_at_cb pattern_get_char_at_cb, - void *pattern_get_char_at_cb_data, - strutils_get_char_at_cb candidate_get_char_at_cb, - void *candidate_get_char_at_cb_data); - -#endif /* _LTTNG_STRING_UTILS_H */