gluon-mesh-babel: neighbours-babel: adjust to libbabelhelper interface
specify command 'dump' for now until babeld supports filtering
This commit is contained in:
parent
33fb58bbf9
commit
6d64057536
@ -18,7 +18,7 @@ int main(void) {
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
bhelper_ctx.debug = false;
|
bhelper_ctx.debug = false;
|
||||||
babelhelper_readbabeldata(&bhelper_ctx, (void*)neighbours, handle_neighbour);
|
babelhelper_readbabeldata(&bhelper_ctx, "dump", (void*)neighbours, handle_neighbour);
|
||||||
|
|
||||||
printf("data: %s\n\n", json_object_to_json_string(neighbours));
|
printf("data: %s\n\n", json_object_to_json_string(neighbours));
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
|
Loading…
Reference in New Issue
Block a user