Rename *create_iterator*() -> *create_notification_iterator*()
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 31 Jan 2017 07:50:22 +0000 (02:50 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 16:57:37 +0000 (12:57 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
converter/babeltrace.c
include/babeltrace/component/component-filter.h
include/babeltrace/component/component-source.h
lib/component/filter.c
lib/component/source.c

index 0407fb2d22ca03ff6b60b1cb97641bec7049aaf3..131a3c04b78c75d76c09bc0c91f5e638db41b594 100644 (file)
@@ -400,7 +400,7 @@ int connect_source_sink(struct bt_component *source,
        struct bt_notification_iterator *source_it = NULL;
        struct bt_notification_iterator *to_sink_it = NULL;
 
-       source_it = bt_component_source_create_iterator(source);
+       source_it = bt_component_source_create_notification_iterator(source);
        if (!source_it) {
                fprintf(stderr, "Failed to instantiate source iterator. Aborting...\n");
                 ret = -1;
@@ -428,7 +428,7 @@ int connect_source_sink(struct bt_component *source,
                        goto end;
                }
 
-               to_sink_it = bt_component_filter_create_iterator(trimmer);
+               to_sink_it = bt_component_filter_create_notification_iterator(trimmer);
                if (!to_sink_it) {
                        fprintf(stderr, "Failed to instantiate trimmer iterator. Aborting...\n");
                        ret = -1;
index 1c0373bc0078435c67ac4579cab7103398d5965e..cba61f68ff3a5bc132b84021beabda4fefed1f93 100644 (file)
@@ -56,11 +56,11 @@ enum bt_component_status bt_component_filter_add_iterator(
  * @returns            Notification iterator instance
  */
 extern
-struct bt_notification_iterator *bt_component_filter_create_iterator(
+struct bt_notification_iterator *bt_component_filter_create_notification_iterator(
                struct bt_component *component);
 
 extern
-struct bt_notification_iterator *bt_component_filter_create_iterator_with_init_method_data(
+struct bt_notification_iterator *bt_component_filter_create_notification_iterator_with_init_method_data(
         struct bt_component *component, void *init_method_data);
 
 /* Defaults to 1. */
index 5ada76d512ee077a6594114c57765dda0a559cff..662fe39d8f5f0f43f6c72c79cf29fc6994c916e8 100644 (file)
@@ -44,11 +44,11 @@ struct bt_notification_iterator;
  * @returns            Notification iterator instance
  */
 extern
-struct bt_notification_iterator *bt_component_source_create_iterator(
+struct bt_notification_iterator *bt_component_source_create_notification_iterator(
                struct bt_component *component);
 
 extern
-struct bt_notification_iterator *bt_component_source_create_iterator_with_init_method_data(
+struct bt_notification_iterator *bt_component_source_create_notification_iterator_with_init_method_data(
         struct bt_component *component, void *init_method_data);
 
 #ifdef __cplusplus
index dc170e3664c22fde551683159bc3cc33e947d6fe..153e38f2c69f4c83b6522f043ef98a54219b06fe 100644 (file)
@@ -180,13 +180,13 @@ end:
        return ret;
 }
 
-struct bt_notification_iterator *bt_component_filter_create_iterator(
+struct bt_notification_iterator *bt_component_filter_create_notification_iterator(
                struct bt_component *component)
 {
        return bt_component_create_iterator(component, NULL);
 }
 
-struct bt_notification_iterator *bt_component_filter_create_iterator_with_init_method_data(
+struct bt_notification_iterator *bt_component_filter_create_notification_iterator_with_init_method_data(
                struct bt_component *component, void *init_method_data)
 {
        return bt_component_create_iterator(component, init_method_data);
index 7f4627637837416eea6e9136ae017b9d1b3a72ee..393b12f8b322907fcbbc6ef8239f762a7d57bf51 100644 (file)
@@ -80,13 +80,13 @@ end:
        return source ? &source->parent : NULL;
 }
 
-struct bt_notification_iterator *bt_component_source_create_iterator(
+struct bt_notification_iterator *bt_component_source_create_notification_iterator(
                struct bt_component *component)
 {
        return bt_component_create_iterator(component, NULL);
 }
 
-struct bt_notification_iterator *bt_component_source_create_iterator_with_init_method_data(
+struct bt_notification_iterator *bt_component_source_create_notification_iterator_with_init_method_data(
                struct bt_component *component, void *init_method_data)
 {
        return bt_component_create_iterator(component, init_method_data);
This page took 0.028012 seconds and 4 git commands to generate.