X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fcomponent-class-source.h;h=e0c7ecce19ee1ee1c0f17cf4ed77310d6c11bf3a;hb=9d408fcae74602e3591f66623ceb85f482d948ed;hp=6190977b44a6a3831245a85a79ec4197077edb9d;hpb=b2e0c9076135f47110af2d96dfaee397c597bc90;p=babeltrace.git diff --git a/include/babeltrace/graph/component-class-source.h b/include/babeltrace/graph/component-class-source.h index 6190977b..e0c7ecce 100644 --- a/include/babeltrace/graph/component-class-source.h +++ b/include/babeltrace/graph/component-class-source.h @@ -1,5 +1,5 @@ -#ifndef BABELTRACE_COMPONENT_COMPONENT_CLASS_SOURCE_H -#define BABELTRACE_COMPONENT_COMPONENT_CLASS_SOURCE_H +#ifndef BABELTRACE_GRAPH_COMPONENT_CLASS_SOURCE_H +#define BABELTRACE_GRAPH_COMPONENT_CLASS_SOURCE_H /* * Babeltrace - Component Class Interface. @@ -25,7 +25,8 @@ * SOFTWARE. */ -#include +/* For component class method type definitions */ +#include #ifdef __cplusplus extern "C" { @@ -35,25 +36,20 @@ struct bt_component_class; extern struct bt_component_class *bt_component_class_source_create(const char *name, - bt_component_class_notification_iterator_next_method notification_iterator_next_method); + bt_component_class_notification_iterator_next_method method); extern int bt_component_class_source_set_notification_iterator_init_method( struct bt_component_class *component_class, - bt_component_class_notification_iterator_init_method notification_iterator_init_method); + bt_component_class_notification_iterator_init_method method); extern int bt_component_class_source_set_notification_iterator_finalize_method( struct bt_component_class *component_class, - bt_component_class_notification_iterator_finalize_method notification_iterator_finalize_method); - -extern -int bt_component_class_source_set_notification_iterator_seek_time_method( - struct bt_component_class *component_class, - bt_component_class_notification_iterator_seek_time_method notification_iterator_seek_time_method); + bt_component_class_notification_iterator_finalize_method method); #ifdef __cplusplus } #endif -#endif /* BABELTRACE_COMPONENT_COMPONENT_CLASS_SOURCE_H */ +#endif /* BABELTRACE_GRAPH_COMPONENT_CLASS_SOURCE_H */