Commit Graph

20 Commits

Author SHA1 Message Date
Christian W. Zuckschwerdt
1bed1426b4 Refactor csv_init to output_start 2018-12-19 11:56:34 +01:00
Christian W. Zuckschwerdt
ca844db7e1 Refactor abuf string builder 2018-12-16 19:11:45 +01:00
Christian W. Zuckschwerdt
b85a465cf4 Add data output poll callback 2018-12-16 18:19:01 +01:00
Christian W. Zuckschwerdt
a468f24f95 Make data_output_t public 2018-12-16 17:27:55 +01:00
Christian W. Zuckschwerdt
be1aa8c830 Change MSC to __restrict 2018-12-16 16:03:17 +01:00
Christian W. Zuckschwerdt
dfc1d79479 Add option for output tagging 2018-11-23 09:49:51 +01:00
Christian W. Zuckschwerdt
4e16269734 Fix csv output by initializing the fields after protocol options 2018-11-20 13:24:22 +01:00
Christian W. Zuckschwerdt
7362c80af2 Add data_retain reference counting 2018-11-18 11:00:42 +01:00
Christian W. Zuckschwerdt
b6d52dcd3b Add data_add() function (#787) 2018-08-27 09:06:55 +02:00
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