Hide source iterator creation functions
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 18 Feb 2017 18:15:51 +0000 (13:15 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 16:57:38 +0000 (12:57 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/babeltrace/component/component-source-internal.h
lib/component/source.c

index 99b0f5bf4b945b95194406f5bb52218887555d70..ac1b4c3e2d6314ab5c7e5717bc1963bdd36cf893 100644 (file)
@@ -59,4 +59,18 @@ BT_HIDDEN
 enum bt_component_status bt_component_source_validate(
                struct bt_component *component);
 
+/**
+ * Create an iterator on a component instance.
+ *
+ * @param component    Component instance
+ * @returns            Notification iterator instance
+ */
+BT_HIDDEN
+struct bt_notification_iterator *bt_component_source_create_notification_iterator(
+               struct bt_component *component);
+
+BT_HIDDEN
+struct bt_notification_iterator *bt_component_source_create_notification_iterator_with_init_method_data(
+        struct bt_component *component, void *init_method_data);
+
 #endif /* BABELTRACE_COMPONENT_SOURCE_INTERNAL_H */
index 0baa3f9b7fdcc4ae695a5a2283a080adab66f637..adbf8ed724dd32d5e1e9e8ec91b218de2fb041cf 100644 (file)
@@ -102,12 +102,14 @@ error:
        goto end;
 }
 
+BT_HIDDEN
 struct bt_notification_iterator *bt_component_source_create_notification_iterator(
                struct bt_component *component)
 {
        return bt_component_create_iterator(component, NULL);
 }
 
+BT_HIDDEN
 struct bt_notification_iterator *bt_component_source_create_notification_iterator_with_init_method_data(
                struct bt_component *component, void *init_method_data)
 {
This page took 0.025911 seconds and 4 git commands to generate.