Go to the source code of this file.
Functions | |
dt_bool | dt_stream_transfer (dt_reader *src, dt_writer *dst) |
Reads stream steps from src and sends them to dst until completion or an error occurs. | |
dt_bool | dt_stream_validated_transfer (dt_reader *src, dt_writer *dst) |
Reads stream steps from a reader to a writer while validating the structure of the stream. | |
dt_node * | dt_read_tree_from_file (const char *srcPath) |
Load the textual file at path srcPath into an in-memory data structure. | |
dt_bool | dt_write_tree_to_file (dt_node const *root, const char *dstPath) |
Saved the tree below root to a textual file at path srcPath. |
|
Load the textual file at path srcPath into an in-memory data structure.
Definition at line 53 of file dt_stream_util.c. |
|
Reads stream steps from src and sends them to dst until completion or an error occurs.
Definition at line 18 of file dt_stream_util.c. |
|
Reads stream steps from a reader to a writer while validating the structure of the stream. The transfer is interrupted if the reader or writer report an error, or if an inconsistency in the transmitted data structure is detected.
This is typically useful when the data source is a file being parsed.
Definition at line 40 of file dt_stream_util.c. |
|
Saved the tree below root to a textual file at path srcPath.
Definition at line 83 of file dt_stream_util.c. |