gluon-mesh-babel: neighbours-babel: adjust to libbabelhelper interface

specify command 'dump' for now until babeld supports filtering
This commit is contained in:
Christof Schulze 2019-08-14 15:16:36 +02:00 committed by Andreas Ziegler
parent 33fb58bbf9
commit 6d64057536

View File

@ -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);