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
58a13ae92e
cmake: fix some #ifdefs
2018-06-29 14:36:50 +02:00
312cdc2fbe
revert whitespace changes
2018-06-29 08:37:14 +02:00
Sonja Kolen
4ec3cf030b
Added extern "C" wrapper in all headers of libvillas to use it in C++ code
2018-06-28 13:42:50 +02:00
59269a72b6
remove some superfluous comments
2018-06-15 14:56:27 +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
e5afb8ec48
fix several build system related issues
2018-02-06 23:29:54 +01:00
0017d1bcb1
refactor: change include prefix
2018-02-04 16:40:52 +01:00
7d6ca30f8a
socket: lift limitation of packet lengths (was 1500 bytes)
2017-10-27 19:15:23 +02:00
2443f7c2fa
socket: add support for AF_UNIX domain sockets
2017-10-26 18:32:51 +02:00
5b4e4a4eb7
socket: remove obsolete settings 'endian' and 'header'
2017-08-31 09:28:44 +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
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
a994de62e2
socket: added support for multicast adressing
2017-06-28 10:39:41 +02:00
d749c9a244
socket: use union instead of casts for socket address
2017-05-28 18:40:22 +02:00
8cab5cde96
added verify_source setting to socket node-type
2017-05-28 13:43:00 +02:00
49054eef9f
cleanup: removed trailing whitespaces in code
2017-05-05 19:24:16 +00:00
5be1853649
added GPL license to file headers
2017-04-27 12:56:43 +02:00
a3222da312
adapted socket node-type to support new packet format
2017-04-23 22:13:29 +02:00
bd1fa43d1f
fixed documentation of node-types
2017-04-18 19:16:31 +02:00
053b43fb9f
change function signature of node_type_start()
2017-04-07 17:32:52 +02:00
c90343d4af
refactoring: node_open, node_close => node_start, node_stop
2017-03-11 23:30:24 -03:00
3e7c855526
updated licence and copyright info in file headers
2017-03-03 20:20:13 -04:00
7ec6aee288
Merge remote-tracking branch 'rwth/develop' into feature-curlio
2017-02-18 11:05:11 -05:00
7cab0538ab
use #pragma once instead of #ifdef
2017-02-16 09:04:27 -03:00
e7bf4e3f03
fix header include guard macros include full name
2017-02-12 14:04:22 -03:00
1dba01a8ae
Re-license source code to LGPLv2.1 ( closes #56 )
2016-11-22 11:14:25 -05:00
1bcd0f9ae2
moved "endian" setting to socket node-type: other node-types do not have the sense of endianess (e.g. file node-type)
2016-10-30 16:58:45 -04:00
3159729cff
add new header type to socket node-type for making "fake" header in gtnet-skt mode configurable
2016-10-20 09:06:29 -04:00
641d5ea7ed
fixed commenting style in socket code
2016-10-19 01:58:55 -04:00
0097132b4f
Merge branch 'feature-gtnet' into develop
2016-09-11 02:56:46 +00:00
0fa5f5b976
introduced new directory structure for source and header files
2016-06-14 01:17:58 +02:00