| Top | 
#define YAML_PARSER_PARSE_WITH_EXIT_FULL(_parser, _returnval, _event, _error)
#define YAML_PARSER_PARSE_WITH_EXIT_BOOL(_parser, _event, _error)
#define MMD_EMIT_WITH_EXIT_FULL(_emitter, _returnval, _event, _error, ...)
#define MMD_YAML_ERROR_EVENT_EXIT_FULL(_error, _event, _returnval, ...)
gboolean mmd_emitter_start_stream (yaml_emitter_t *emitter,GError **error);
gboolean mmd_emitter_end_stream (yaml_emitter_t *emitter,GError **error);
gboolean mmd_emitter_start_document (yaml_emitter_t *emitter,GError **error);
gboolean mmd_emitter_end_document (yaml_emitter_t *emitter,GError **error);
gboolean mmd_emitter_start_mapping (yaml_emitter_t *emitter,yaml_mapping_style_t style,GError **error);
gboolean mmd_emitter_end_mapping (yaml_emitter_t *emitter,GError **error);
gboolean mmd_emitter_start_sequence (yaml_emitter_t *emitter,yaml_sequence_style_t style,GError **error);
gboolean mmd_emitter_end_sequence (yaml_emitter_t *emitter,GError **error);
gboolean mmd_emitter_scalar (yaml_emitter_t *emitter,const gchar *scalar,yaml_scalar_style_t style,GError **error);
gboolean mmd_emitter_strv (yaml_emitter_t *emitter,yaml_sequence_style_t seq_style,const GStrv list,GError **error);
Since: 2.0
GDate * modulemd_yaml_parse_date (yaml_parser_t *parser,GError **error);
A newly-allocated GDate representing the parsed
value. NULL if a parse or validation error occurred and sets error
appropriately. 
Since: 2.0
gchar * modulemd_yaml_parse_string (yaml_parser_t *parser,GError **error);
A newly-allocated gchar * representing the parsed value.
NULL if a parse error occured and sets error
appropriately. 
Since: 2.0
gboolean modulemd_yaml_parse_bool (yaml_parser_t *parser,GError **error);
 A boolean representing the parsed value. Returns FALSE if a parse
error occured and sets error
appropriately.
Since: 2.2
gint64 modulemd_yaml_parse_int64 (yaml_parser_t *parser,GError **error);
A 64-bit signed integer representing the parsed
value. Returns 0 if a parse error occured and sets error
appropriately. 
Since: 2.0
guint64 modulemd_yaml_parse_uint64 (yaml_parser_t *parser,GError **error);
A 64-bit unsigned integer representing the parsed
value. Returns 0 if a parse error occured and sets error
appropriately. 
Since: 2.0
GHashTable * modulemd_yaml_parse_string_set (yaml_parser_t *parser,GError **error);
A newly-allocated GHashtTable * representing the parsed value.
All parsed sequence entries are added as keys in the hashtable.
NULL if a parse error occured and sets error
appropriately. 
Since: 2.0
GHashTable * modulemd_yaml_parse_string_set_from_map (yaml_parser_t *parser,const gchar *key,gboolean strict,GError **error);
Function for retrieving a string set from a single-key map such as data.artifacts, data.api or data.filter from a module stream document.
parser  | 
A libyaml parser object positioned at the beginning of a map containing a single key which is a sequence with string scalars.  | 
[inout] | 
key  | 
The key in a single-key mapping whose contents should be returned as a string set.  | 
[in] | 
strict  | 
Whether the parser should return failure if it encounters an unknown mapping key or if it should ignore it.  | 
[in] | 
error  | 
A GError that will return the reason for a parsing or validation error.  | 
[out] | 
A newly-allocated GHashtTable * representing the
parsed values. All parsed sequence entries are added as keys in the
hashtable. NULL if a parse error occured and sets error
appropriately. 
Since: 2.0
GHashTable * modulemd_yaml_parse_string_string_map (yaml_parser_t *parser,GError **error);
Function for retrieving a hash table from a str/str map such as data.dependencies in ModuleStreamV1.
A newly-allocated GHashtTable * representing the
parsed values. NULL if a parse error occured and sets error
appropriately. 
Since: 2.0
ModulemdSubdocumentInfo *
modulemd_yaml_parse_document_type (yaml_parser_t *parser);
Reads through a YAML subdocument to retrieve the document type, metadata version and the data section.
parser  | 
A libyaml parser object positioned at the beginning of a yaml subdocument immediately prior to a YAML_DOCUMENT_START_EVENT.  | 
[inout] | 
Since: 2.0
gboolean modulemd_yaml_emit_document_headers (yaml_emitter_t *emitter,enum ModulemdYamlDocumentType doctype,guint64 mdversion,GError **error);
Creates the YAML header and returns emitter
 positioned just before the
YAML_MAPPING_START for the "data:" section.
emitter  | 
A libyaml emitter object that is positioned where the YAML_DOCUMENT_START_EVENT should occur (so this must be after either a YAML_STREAM_START_EVENT or YAML_DOCUMENT_END_EVENT).  | 
[inout] | 
doctype  | 
The document type (see ModulemdYamlDocumentType).  | 
[in] | 
mdversion  | 
The metadata version for this document.  | 
[in] | 
error  | 
A GError that will return the reason for failing to emit.  | 
[out] | 
 TRUE if the document emitted successfully. FALSE if an error was
encountered and sets error
appropriately.
Since: 2.0
gboolean modulemd_yaml_emit_variant (yaml_emitter_t *emitter,GVariant *variant,GError **error);
 TRUE if the variant emitted succesfully. FALSE if an error was
encountered and sets error
appropriately.
Since: 2.0
GVariant *
mmd_variant_from_scalar (const gchar *scalar);
A new, floating GVariant representing a string or boolean value matching the scalar passed in.
Since: 2.0
GVariant * mmd_variant_from_mapping (yaml_parser_t *parser,GError **error);
Since: 2.0
GVariant * mmd_variant_from_sequence (yaml_parser_t *parser,GError **error);
Since: 2.0
gboolean skip_unknown_yaml (yaml_parser_t *parser,GError **error);
This function is used to skip a section of YAML that contains unknown keys.
The intent here is that it will allow libmodulemd to be forward-compatible
with new, backwards-compatible changes in the metadata format. This function
will advance parser
 to just before the next key in the map.
#define             EMIT_HASHTABLE_VALUES_IF_NON_EMPTY(                                   \
              emitter, error, key, table, emitfn)
#define EMIT_HASHTABLE_KEY_VALUES_IF_NON_EMPTY(emitter, error, key, table)