Commit Graph

4 Commits

Author SHA1 Message Date
Erkki Seppälä
a3f7561a61 data: added CSV support
This requires the client code to first collect the permitted CSV fields
and use data_csv_init to pass them to the CSV builder.
2015-11-23 23:47:54 +02:00
Erkki Seppälä
06c4d39c4a data: introduce auxiliary data as an argument 2015-11-23 23:47:54 +02:00
Erkki Seppälä
17eb918cde data: provide a key-value-printer 2015-11-23 23:47:54 +02:00
Erkki Seppälä
44d0740a8c General structural data support for generating (ie.) JSON
Adds a new interface for constructing, printing and releasing data_t*
structures. The data structure describes typed hierarchical data (much like
json) and then provides a function for dumping it to a file descriptor.

It comes with a small test.
2015-11-22 12:25:58 +02:00