Module api

Source
Expand description

API module for LibYML.

This module provides the public API functions for working with YAML data.

Structs§

ScalarEventData
Create a SCALAR event.

Functions§

yaml_alias_event_initialize
Create an ALIAS event.
yaml_emitter_delete
Destroy an emitter.
yaml_emitter_initialize
Initialize an emitter.
yaml_emitter_set_break
Set the preferred line break.
yaml_emitter_set_canonical
Set if the output should be in the “canonical” format as in the YAML specification.
yaml_emitter_set_encoding
Set the output encoding.
yaml_emitter_set_indent
Set the indentation increment.
yaml_emitter_set_output
Set a generic output handler.
yaml_emitter_set_output_string
Set a string output.
yaml_emitter_set_unicode
Set if unescaped non-ASCII characters are allowed.
yaml_emitter_set_width
Set the preferred line width. -1 means unlimited.
yaml_event_delete
Free any memory allocated for an event object.
yaml_mapping_end_event_initialize
Create a MAPPING-END event.
yaml_mapping_start_event_initialize
Create a MAPPING-START event.
yaml_parser_set_encoding
Set the source encoding.
yaml_parser_set_input
Set a generic input handler.
yaml_parser_set_input_string
Set a string input.
yaml_scalar_event_initialize
Create a SCALAR event.
yaml_sequence_end_event_initialize
Create a SEQUENCE-END event.
yaml_sequence_start_event_initialize
Create a SEQUENCE-START event.
yaml_stream_end_event_initialize
Create the STREAM-END event.
yaml_stream_start_event_initialize
Create the STREAM-START event.
yaml_token_delete
Free any memory allocated for a token object.