60f55ec178
improve naming of struct node_type function pointers ( closes #150 )
2018-07-16 11:00:15 +02:00
Dennis Potter
72e627b327
Fixes #166 , all node interfaces are modified
...
The functions now look like this
int node_read(struct node *n, struct sample *smps[], unsigned cnt, unsigned *release);
int node_write(struct node *n, struct sample *smps[], unsigned cnt, unsigned *release);
This commit enables nodes to control how many samples will
be released by the framework through *release
2018-07-11 18:14:29 +02:00
Dennis Potter
6150a36411
Changed all node_write() functions
2018-07-07 17:48:07 +02:00
Dennis Potter
4663f55e4b
Changed all node_read() functions to support a *cnt instead of cnt
2018-07-07 17:07:45 +02:00
4ba077d14e
io: remove state-less IO calls
2018-05-12 15:25:29 +02:00
c0313c7963
refactored: io_format -> format_type
2018-05-12 13:57:39 +02:00
bd72556b1d
refactor: remove last appearances of old format naming scheme
2018-05-09 10:27:38 +02:00
0017d1bcb1
refactor: change include prefix
2018-02-04 16:40:52 +01:00
702dc34052
c++: add proper casts from void *
2017-10-20 11:54:00 +02:00
ce5f4e5a60
some refactoring in json parsing
2017-10-16 08:09:07 +02:00
5e620942ce
adding new field "flags" to struct sample
2017-09-16 15:04:59 +02:00
6922e273bb
io: renamed formats (msg -> villas-binary, villas -> villas-human)
2017-09-04 14:39:15 +02:00
6d495c1a35
add new bitmask to samples to indicate which fields are valid
2017-09-04 14:28:55 +02:00
9f3d806755
add node_fd() support to most node types
2017-08-30 09:21:35 +02:00
53cff79da6
nanomsg: fix shutdown of node
2017-08-16 12:19:29 +02:00
3eea0c67bb
- introduce low-level interface for new IO subsystem: we now have a fully extensible system for new IO formats and file formats
...
- reworked file node-type to remove in / out directions
2017-08-14 14:42:07 +02:00
c5fc72dd78
adding pluggable IO formats
2017-08-05 21:02:09 +02:00
434fe6dbd6
replaced libconfig by jansson for parsing the configuration (huge commit)
2017-08-03 00:19:27 +02:00
b59a989278
cleanup trailing whitespaces
2017-07-25 12:07:06 +02:00
522ded3ea7
made most of Linux dependencies optional
...
VILLASnode now compiles on OS X Yosemite :-)
2017-07-25 12:07:06 +02:00
2b913d4d69
tests: fix valgrind warnings
2017-07-02 23:57:03 +02:00
ace03b657e
minor fixes and cleanups for new nanomsg and zeromq node-types
2017-05-28 19:43:19 +02:00
f433743173
nanomsg: added new messaging node-type
2017-05-23 14:54:25 +02:00