Ruby
2.0.0p247(2013-06-27revision41674)
|
Public interface for libyaml. More...
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
Go to the source code of this file.
Data Structures | |
struct | yaml_version_directive_s |
The version directive data. More... | |
struct | yaml_tag_directive_s |
The tag directive data. More... | |
struct | yaml_mark_s |
The pointer position. More... | |
struct | yaml_token_s |
The token structure. More... | |
struct | yaml_event_s |
The event structure. More... | |
struct | yaml_node_pair_s |
An element of a mapping node. More... | |
struct | yaml_node_s |
The node structure. More... | |
struct | yaml_document_s |
The document structure. More... | |
struct | yaml_simple_key_s |
This structure holds information about a potential simple key. More... | |
struct | yaml_alias_data_s |
This structure holds aliases data. More... | |
struct | yaml_parser_s |
The parser structure. More... | |
struct | yaml_emitter_s |
The emitter structure. More... | |
Macros | |
#define | YAML_DECLARE(type) type |
The public API declaration. More... | |
#define | YAML_NULL_TAG "tag:yaml.org,2002:null" |
The tag !!null with the only possible value: null . More... | |
#define | YAML_BOOL_TAG "tag:yaml.org,2002:bool" |
The tag !!bool with the values: true and falce . More... | |
#define | YAML_STR_TAG "tag:yaml.org,2002:str" |
The tag !!str for string values. More... | |
#define | YAML_INT_TAG "tag:yaml.org,2002:int" |
The tag !!int for integer values. More... | |
#define | YAML_FLOAT_TAG "tag:yaml.org,2002:float" |
The tag !!float for float values. More... | |
#define | YAML_TIMESTAMP_TAG "tag:yaml.org,2002:timestamp" |
The tag !!timestamp for date and time values. More... | |
#define | YAML_SEQ_TAG "tag:yaml.org,2002:seq" |
The tag !!seq is used to denote sequences. More... | |
#define | YAML_MAP_TAG "tag:yaml.org,2002:map" |
The tag !!map is used to denote mapping. More... | |
#define | YAML_DEFAULT_SCALAR_TAG YAML_STR_TAG |
The default scalar tag is !!str . More... | |
#define | YAML_DEFAULT_SEQUENCE_TAG YAML_SEQ_TAG |
The default sequence tag is !!seq . More... | |
#define | YAML_DEFAULT_MAPPING_TAG YAML_MAP_TAG |
The default mapping tag is !!map . More... | |
Typedefs | |
typedef unsigned char | yaml_char_t |
The character type (UTF-8 octet). More... | |
typedef struct yaml_version_directive_s | yaml_version_directive_t |
The version directive data. More... | |
typedef struct yaml_tag_directive_s | yaml_tag_directive_t |
The tag directive data. More... | |
typedef enum yaml_encoding_e | yaml_encoding_t |
The stream encoding. More... | |
typedef enum yaml_break_e | yaml_break_t |
Line break types. More... | |
typedef enum yaml_error_type_e | yaml_error_type_t |
Many bad things could happen with the parser and emitter. More... | |
typedef struct yaml_mark_s | yaml_mark_t |
The pointer position. More... | |
typedef enum yaml_scalar_style_e | yaml_scalar_style_t |
Scalar styles. More... | |
typedef enum yaml_sequence_style_e | yaml_sequence_style_t |
Sequence styles. More... | |
typedef enum yaml_mapping_style_e | yaml_mapping_style_t |
Mapping styles. More... | |
typedef enum yaml_token_type_e | yaml_token_type_t |
Token types. More... | |
typedef struct yaml_token_s | yaml_token_t |
The token structure. More... | |
typedef enum yaml_event_type_e | yaml_event_type_t |
Event types. More... | |
typedef struct yaml_event_s | yaml_event_t |
The event structure. More... | |
typedef enum yaml_node_type_e | yaml_node_type_t |
Node types. More... | |
typedef struct yaml_node_s | yaml_node_t |
The forward definition of a document node structure. More... | |
typedef int | yaml_node_item_t |
An element of a sequence node. More... | |
typedef struct yaml_node_pair_s | yaml_node_pair_t |
An element of a mapping node. More... | |
typedef struct yaml_document_s | yaml_document_t |
The document structure. More... | |
typedef int | yaml_read_handler_t (void *data, unsigned char *buffer, size_t size, size_t *size_read) |
The prototype of a read handler. More... | |
typedef struct yaml_simple_key_s | yaml_simple_key_t |
This structure holds information about a potential simple key. More... | |
typedef enum yaml_parser_state_e | yaml_parser_state_t |
The states of the parser. More... | |
typedef struct yaml_alias_data_s | yaml_alias_data_t |
This structure holds aliases data. More... | |
typedef struct yaml_parser_s | yaml_parser_t |
The parser structure. More... | |
typedef int | yaml_write_handler_t (void *data, unsigned char *buffer, size_t size) |
The prototype of a write handler. More... | |
typedef enum yaml_emitter_state_e | yaml_emitter_state_t |
The emitter states. More... | |
typedef struct yaml_emitter_s | yaml_emitter_t |
The emitter structure. More... | |
Public interface for libyaml.
Include the header file with the code:
Definition in file yaml.h.