Modulemd Utility Functions

Modulemd Utility Functions — Provides private utility functions for use within libmodulemd.

Stability Level

Private, unless otherwise indicated

Functions

Types and Values

#define MODULEMD_ERROR

Description

Functions

modulemd_error_quark ()

GQuark
modulemd_error_quark (void);

modulemd_trace_init ()

modulemd_tracer *
modulemd_trace_init (const gchar *function_name);

modulemd_trace_free ()

void
modulemd_trace_free (modulemd_tracer *tracer);

MODULEMD_INIT_TRACE

#define             MODULEMD_INIT_TRACE()

modulemd_hash_table_deep_str_copy ()

GHashTable *
modulemd_hash_table_deep_str_copy (GHashTable *orig);

modulemd_hash_table_deep_set_copy ()

GHashTable *
modulemd_hash_table_deep_set_copy (GHashTable *orig);

modulemd_hash_table_deep_str_set_copy ()

GHashTable *
modulemd_hash_table_deep_str_set_copy (GHashTable *orig);

modulemd_hash_table_deep_str_str_set_copy ()

GHashTable *
modulemd_hash_table_deep_str_str_set_copy
                               (GHashTable *orig);

modulemd_hash_table_sets_are_equal_wrapper ()

gboolean
modulemd_hash_table_sets_are_equal_wrapper
                               (const void *a,
                                const void *b);

modulemd_hash_table_sets_are_equal ()

gboolean
modulemd_hash_table_sets_are_equal (GHashTable *a,
                                    GHashTable *b);

modulemd_hash_table_equals ()

gboolean
modulemd_hash_table_equals (GHashTable *a,
                            GHashTable *b,
                            GEqualFunc compare_func);

modulemd_strcmp_sort ()

gint
modulemd_strcmp_sort (gconstpointer a,
                      gconstpointer b);

modulemd_ordered_str_keys ()

GPtrArray *
modulemd_ordered_str_keys (GHashTable *htable,
                           GCompareFunc compare_func);

modulemd_ordered_str_keys_as_strv ()

gchar **
modulemd_ordered_str_keys_as_strv (GHashTable *htable);

modulemd_variant_deep_copy ()

GVariant *
modulemd_variant_deep_copy (GVariant *variant);

modulemd_hash_table_unref ()

void
modulemd_hash_table_unref (void *table);

modulemd_validate_nevra ()

gboolean
modulemd_validate_nevra (const gchar *nevra);

MODULEMD_REPLACE_SET()

#define             MODULEMD_REPLACE_SET(_dest, _set)

MODULEMD_SETTER_GETTER_STRING_EXT()

#define             MODULEMD_SETTER_GETTER_STRING_EXT(                                    \
              is_static, ObjName, obj_name, OBJ_NAME, attr, ATTR)

MODULEMD_SETTER_GETTER_STRING()

#define             MODULEMD_SETTER_GETTER_STRING(                                        \
              ObjName, obj_name, OBJ_NAME, attr, ATTR)

MODULEMD_SETTER_GETTER_STRING_STATIC()

#define             MODULEMD_SETTER_GETTER_STRING_STATIC(                                 \
              ObjName, obj_name, OBJ_NAME, attr, ATTR)

Types and Values

MODULEMD_ERROR

#define MODULEMD_ERROR modulemd_error_quark ()