24 #ifndef COMPAT_GLIB_H_INCLUDED
25 #define COMPAT_GLIB_H_INCLUDED 1
31 #if ! SYSLOG_NG_HAVE_G_LIST_COPY_DEEP
35 #if ! SYSLOG_NG_HAVE_G_CANONICALIZE_FILENAME
37 const gchar *relative_to);
40 #if ! SYSLOG_NG_HAVE_G_PTR_ARRAY_FIND_WITH_EQUAL_FUNC
43 GEqualFunc equal_func,
47 #if !GLIB_CHECK_VERSION(2, 54, 0)
48 #define g_base64_encode g_base64_encode_fixed
52 #if !GLIB_CHECK_VERSION(2, 40, 0)
53 #define g_hash_table_insert slng_g_hash_table_insert
57 #if !GLIB_CHECK_VERSION(2, 64, 0)
58 #define g_utf8_get_char_validated g_utf8_get_char_validated_fixed
62 #if !GLIB_CHECK_VERSION(2, 68, 0)
63 #define g_memdup2 g_memdup
66 #if !GLIB_CHECK_VERSION(2, 70, 0)
67 #define g_pattern_spec_match_string g_pattern_match_string
68 #define g_pattern_spec_match g_pattern_match
gunichar g_utf8_get_char_validated_fixed(const gchar *p, gssize max_len)
Definition: glib.c:289
gboolean slng_g_hash_table_insert(GHashTable *hash_table, gpointer key, gpointer value)
Definition: glib.c:277
gboolean g_ptr_array_find_with_equal_func(GPtrArray *haystack, gconstpointer needle, GEqualFunc equal_func, guint *index_)
Definition: glib.c:63
gchar * g_base64_encode_fixed(const guchar *data, gsize len)
Definition: glib.c:244
gchar * g_canonicalize_filename(const gchar *filename, const gchar *relative_to)
Definition: glib.c:117
GList * g_list_copy_deep(GList *list, GCopyFunc func, gpointer user_data)
Definition: glib.c:38
GString * value
Definition: test_decode.c:28
struct tm key
Definition: cache.c:63