Make bt_graph_add_*_listener() function return a listener ID
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 26 May 2017 19:02:51 +0000 (15:02 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 9 Jun 2017 20:58:11 +0000 (16:58 -0400)
commit0d107cdd376ff07c7bc6da9dfd46d57463442df1
treeee2f9639120f300622f08d46cead4dd468c3f303
parentc3acd5f3f82ef06a3d04dc180c901a4597514d13
Make bt_graph_add_*_listener() function return a listener ID

This is the expected API to identify all the user listeners of the
library. You can keep the returned ID, a simple int, to remove the
listener from the object later if needed. With the current API, you
cannot remove graph listeners, but we could add the functions to do so
in the future.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
cli/babeltrace.c
include/babeltrace/graph/graph.h
lib/graph/graph.c
tests/lib/test_graph_topo.c
tests/plugins/test-utils-muxer.c
This page took 0.025258 seconds and 4 git commands to generate.