aboutsummaryrefslogtreecommitdiffstats
path: root/tests/read_chunk_test.c
AgeCommit message (Collapse)AuthorFilesLines
2020-10-27Replace multiple stream callbacks with SerdEventDavid Robillard1-4/+21
This makes plumbing easier since everything goes through the same "stream" and only one callback is required to handling everything. It's also more easily extensible in case more event types need to be added in the future.
2020-10-27Replace serd_reader_set_strict() with SerdReaderFlagsDavid Robillard1-1/+1
This makes reader options extensible and should hopefully prevent the need for grafting on more similar functions in the future.
2020-10-27Add function to SerdSink for freeing opaque handleDavid Robillard1-1/+1
This can be used to associate dynamically allocated data with a sink and have it managed along with the sink's lifetime.
2020-10-27Make SerdSink opaqueDavid Robillard1-4/+9
2020-10-27Add SerdCursor to public APIDavid Robillard1-1/+2
2020-10-27Make statement sink take a statement rather than nodesDavid Robillard1-10/+4
This makes the interface more extensible, towards associating more information with statements. The serd_sink_write_nodes wrapper remains so that user code does not need to allocate in order to write statement.
2020-10-27Use a fixed-size reader stackDavid Robillard1-1/+1
This improves performance, and makes the reader more suitable for embedded or network-facing applications, at the cost of requiring the user to specify a maximum stack size.
2020-10-27Add SerdWorld for shared library stateDavid Robillard1-2/+4
2020-10-27Add SerdSink interface and hide individual function implementationsDavid Robillard1-2/+3
2020-10-27Merge datatype and/or language into nodeDavid Robillard1-5/+1
This moves closer to the sord API, and is more convenient in most cases.
2020-10-27Simplify reader interfaceDavid Robillard1-20/+13
2020-08-16Add test for reading chunksDavid Robillard1-0/+120