c0
C0DATA — structured data using ASCII C0 control codes (C)
Loading...
Searching...
No Matches
Data Structures
Here are the data structures with brief descriptions:
 Cc0_block_iterCursor over the committed blocks (previous commit to ETB, marker and payload excluded); *damaged is set for a block that is not well-formed in the context of the sound blocks before it
 Cc0_bodyA body: a document body or the inside of a nested level, as a range of the buffer
 Cc0_builderWrites C0DATA in canonical compact form into a growable buffer it owns; call c0_builder_free when done
 Cc0_bytesA zero-copy view into a buffer: not NUL-terminated
 Cc0_diffA parsed diff
 Cc0_diff_builder
 Cc0_diff_error
 Cc0_diff_fileA file's records, in order
 Cc0_diff_file_inputAn input file (borrowed)
 Cc0_diff_file_outputAn output file (malloc'd path and content)
 Cc0_diff_recordA record: one anchored pattern
 Cc0_diff_unitOne unit of a pattern: an anchor (is_sub 0, new_ NULL) or a substitution old␚␟new
 Cc0_doc_iterCursor over the documents of a container (a file or message): each begins with SYN except possibly the first; EM ends the scan and starts the tail
 Cc0_documentOne document: an optional SYN heading, a body, an optional EOT
 Cc0_errorError detail: the code, the byte offset it was found at, and a static message
 Cc0_fileA file within a body: its name and the range of its contents
 Cc0_file_iterCursor over the files of a body as the result model has them
 Cc0_groupA group: its depth (one plus the SUB prefix of its GS line: ␝a 1, ␚␝b 2; 0 for the unnamed group at the start of a file or level), name, and the range of its contents (header row and records; deeper subsections are separate groups)
 Cc0_group_iterCursor over groups: every GS line at any depth, in order, plus the unnamed leading group of a file or level when it holds a header row or records
 Cc0_json_pair
 Cc0_json_value
 Cc0_pair_iterCursor over keyed units (a keyed record, or a document heading)
 Cc0_parse_stateParser state carried from one committed block to the next (every field is internal)
 Cc0_recordA record: the bytes after its RS, trailing layout excluded
 Cc0_record_iterCursor over the live records of a group (header rows, notes, commits and dead records skipped)
 Cc0_refA parsed reference (DESIGN.md "References"): a group name written plain, or a pattern, the level ENQ DLE … CAN that is one branch of the target with its values left out, reported as the body it is written as
 Cc0_strbuf
 Cc0_streamA scan of an append-only log
 Cc0_sub_iterCursor over the direct sub-units of a unit (those one deeper than it), in written order; each comes with its own sub-units
 Cc0_unitA unit with its sub-units (DESIGN.md "Subordinates"): SUB before US makes the unit after a child of the unit before, ␞a␟b␚␟c is two units and b holds c; ␞a␚␟b␚␟c is a holding b and c; ␞a␚␟b␚␚␟c is a holding b holding c (the SUB run's length is the depth)
 Cc0_unit_iterCursor over the positional units of a record, or the items of a list