File indexing completed on 2026-05-06 08:41:18
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020 #ifndef __G_PATTERN_H__
0021 #define __G_PATTERN_H__
0022
0023 #if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
0024 #error "Only <glib.h> can be included directly."
0025 #endif
0026
0027 #include <glib/gtypes.h>
0028
0029 G_BEGIN_DECLS
0030
0031
0032 typedef struct _GPatternSpec GPatternSpec;
0033
0034 GLIB_AVAILABLE_IN_ALL
0035 GPatternSpec* g_pattern_spec_new (const gchar *pattern);
0036 GLIB_AVAILABLE_IN_ALL
0037 void g_pattern_spec_free (GPatternSpec *pspec);
0038 GLIB_AVAILABLE_IN_2_70
0039 GPatternSpec *g_pattern_spec_copy (GPatternSpec *pspec);
0040 GLIB_AVAILABLE_IN_ALL
0041 gboolean g_pattern_spec_equal (GPatternSpec *pspec1,
0042 GPatternSpec *pspec2);
0043 GLIB_AVAILABLE_IN_2_70
0044 gboolean g_pattern_spec_match (GPatternSpec *pspec,
0045 gsize string_length,
0046 const gchar *string,
0047 const gchar *string_reversed);
0048 GLIB_AVAILABLE_IN_2_70
0049 gboolean g_pattern_spec_match_string (GPatternSpec *pspec,
0050 const gchar *string);
0051 GLIB_DEPRECATED_IN_2_70_FOR (g_pattern_spec_match)
0052 gboolean g_pattern_match (GPatternSpec *pspec,
0053 guint string_length,
0054 const gchar *string,
0055 const gchar *string_reversed);
0056 GLIB_DEPRECATED_IN_2_70_FOR (g_pattern_spec_match_string)
0057 gboolean g_pattern_match_string (GPatternSpec *pspec,
0058 const gchar *string);
0059 GLIB_AVAILABLE_IN_ALL
0060 gboolean g_pattern_match_simple (const gchar *pattern,
0061 const gchar *string);
0062
0063 G_END_DECLS
0064
0065 #endif