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
f31a7b0ffb
get rid of strncpy as much as possible
2018-04-04 08:53:00 +02:00
0017d1bcb1
refactor: change include prefix
2018-02-04 16:40:52 +01:00
daniel-k
78d23294af
lib: add missing includes of string.h
2017-11-02 13:08:12 +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
41ceea7f48
zeromq: increase maximum message size
2017-08-23 15:48:34 +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
aa77c82b82
rpm: perform tests during packaging
2017-06-29 21:10:33 +02:00
71465488f0
zeromq: older versions of the library have zmq_curve_keypair() in zmq_utils.h
2017-06-17 03:45:25 +02:00
f738dff1ac
zeromq: support libzmq < 4.2
2017-06-15 13:59:09 +02:00
ace03b657e
minor fixes and cleanups for new nanomsg and zeromq node-types
2017-05-28 19:43:19 +02:00
09b37a1bfc
zeromq: fix radio dish support by swapping server / client roles
2017-05-23 15:22:37 +02:00
d6970abd82
zeromq: fix compiler warning
2017-05-23 15:22:37 +02:00
89e4f3588f
zeromq: fix shutdown close pending socket
2017-05-23 15:22:37 +02:00
eef7764b8a
zeromq: only check for handshake if we are in a CurveZMQ session
2017-05-23 15:22:37 +02:00
48b3898f23
zeromq: fix group subscription
2017-05-23 15:22:37 +02:00
df028c3b28
zeromq: some code cleanup
2017-05-23 15:22:37 +02:00
7e602dd44e
zeromq: added support for CurveZMQ encryption and authentication (still not working)
2017-05-23 15:22:37 +02:00
fbf75d90ee
zeromq: fix ipv6
2017-05-23 15:22:37 +02:00
503da4bb94
zeromq: add support for filtering based on pubsub groups
2017-05-23 15:22:37 +02:00
0f197cb223
zeromq: check if handshake succeeded
2017-05-23 15:22:37 +02:00
b6c39611c1
zeromq: add support to reverse node
2017-05-23 15:22:37 +02:00
5ef08552b2
zeromq: added IPv6 options
2017-05-23 15:22:37 +02:00
9edd0fc68d
zeromq: fix little bug because socket-types were swapped
2017-05-23 15:22:37 +02:00
98cd2938af
add new msg_buffer() functions to read / write multiple struct sample from / to a buffer using the struct msg wire protocol.
2017-05-23 15:22:37 +02:00
5a267813d0
zeromq: added initial version of ZeroMQ node-type
2017-05-23 15:20:38 +02:00