1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
Commit graph

38 commits

Author SHA1 Message Date
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
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
fba30731aa task: simplify interface 2017-09-16 15:33:01 +02:00
12973f9088 json: accept integers for floating point settings 2017-09-04 23:16:58 +02:00
9f3d806755 add node_fd() support to most node types 2017-08-30 09:21:35 +02:00
2e3a6ef90b refactoring: periodic_task => task 2017-08-22 12:20:14 +02:00
a13097fa80 add new class to abstract different implementations for periodic tasks 2017-08-14 14:35:16 +02:00
434fe6dbd6 replaced libconfig by jansson for parsing the configuration (huge commit) 2017-08-03 00:19:27 +02:00
a71053f718 refactor: use libconfig instance only within _parse() functions 2017-08-01 11:56:47 +02:00
b59a989278 cleanup trailing whitespaces 2017-07-25 12:07:06 +02:00
Georg Reinke
98fd3f4789 fix format security errors 2017-07-17 15:07:20 +02:00
49c0e9957a using memdup() will invalidate pointers to the object which might have been used during _init() and _parse() calls 2017-07-09 14:36:09 +02:00
2b913d4d69 tests: fix valgrind warnings 2017-07-02 23:57:03 +02:00
Georg Reinke
1d011e6d8f some include / format error fixes 2017-06-08 12:42:46 +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
053b43fb9f change function signature of node_type_start() 2017-04-07 17:32:52 +02:00
3eb629d9d5 various bug fixes from todays debugging session 2017-03-29 04:25:30 +02:00
411b9dd326 replaced most occurrences of list_foreach with a traditional for loop due to performance reasons 2017-03-25 21:23:31 +01:00
14e2b97372 initialize node_type::instances correctly 2017-03-12 17:08:52 -03:00
c90343d4af refactoring: node_open, node_close => node_start, node_stop 2017-03-11 23:30:24 -03:00
b138fdb93f unify usage of memdup len operand 2017-03-11 23:20: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
30e0ecf544 refactored dtor_cb_t to return an integer 2017-02-18 10:43:01 -05:00
2b83fef2ce removed a bunch of non-needed include files (found by include-what-you-need.org) 2017-02-16 13:33:04 -03:00
e9f8a50c3c introduce new plugin system for extensions 2017-02-12 14:35:05 -03:00
84ebfda4e1 refactored log faciltity macros 2017-02-12 14:12:35 -03:00
59816b3747 HTTP user-agent is now a project wide compile-time constant 2017-01-19 21:03:37 -02:00
1dba01a8ae Re-license source code to LGPLv2.1 (closes #56) 2016-11-22 11:14:25 -05:00
64cbad6158 Removed unused dependency to liquid 2016-10-08 01:10:12 -04:00
3880abeb63 unified member variable naming of struct sample and struct msg 2016-07-11 18:19:23 +02:00
0fa5f5b976 introduced new directory structure for source and header files 2016-06-14 01:17:58 +02:00
Renamed from lib/ngsi.c (Browse further)