Add bt_component_class_freeze()
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 26 Jan 2017 09:29:52 +0000 (04:29 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 16:57:37 +0000 (12:57 -0400)
commit1e4d8103c3bac7dfe6f9d966acadc4512b861ee6
tree7d3a67a372d34e1075668552f4de7439e644976b
parentd71dcf2c09c27291afa19a40eb99cc3556842e99
Add bt_component_class_freeze()

It is somewhat essential for a component class provider (plugin or
whatever else) to make sure that its created, shared component class is
not modified once properly configured.

The new bt_component_class_freeze() function freezes a component class
object so that it becomes immutable.

bt_component_create() also has the side effect of freezing its class.
This is analogous to bt_event_create() which freezes its class.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/babeltrace/component/component-class-internal.h
include/babeltrace/component/component-class.h
lib/component/component-class.c
lib/component/component.c
This page took 0.024247 seconds and 4 git commands to generate.