Commit Graph

11 Commits

Author SHA1 Message Date
Gisle Vanem
f997c5efd1 [MSVC] patch include/data.h (#753)
The rationale behind these patches are pretty much in the source comments. MSVC issues with:
*) "Variable Length Arrays"
*) 'restrict` keyword. 
*) And '<strings.h>'.
2018-06-30 17:48:43 +02:00
Ryan Jarvis
8e8d5505be Fix typos/misspellings 2018-05-01 12:11:00 +02:00
Christian W. Zuckschwerdt
74b8092240 allow ipv6 for syslog 2018-01-29 10:55:35 +01:00
Christian W. Zuckschwerdt
64c3177a7f remove output_hander_t, printer_ctx indirection 2018-01-28 13:19:21 +01:00
Christian W. Zuckschwerdt
c30a2a66bf adds a remote syslog output 2018-01-27 16:08:38 +01:00
Stanisław Pitucha
414ed77ac9 Include stdio for FILE 2016-01-18 11:25:44 +11:00
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ä
c7673f7cee data: added formatting support 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