lib: make graph API const-correct
[babeltrace.git] / include / babeltrace / graph / component-source-internal.h
index fde158453504edf7ad225a0a59e4f82b7a562386..21e4da2c016e06a5165a6f124601cc9986526d7b 100644 (file)
@@ -1,9 +1,7 @@
-#ifndef BABELTRACE_COMPONENT_SOURCE_INTERNAL_H
-#define BABELTRACE_COMPONENT_SOURCE_INTERNAL_H
+#ifndef BABELTRACE_GRAPH_COMPONENT_SOURCE_INTERNAL_H
+#define BABELTRACE_GRAPH_COMPONENT_SOURCE_INTERNAL_H
 
 /*
- * BabelTrace - Source Component internal
- *
  * Copyright 2015 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
  * Author: Jérémie Galarneau <jeremie.galarneau@efficios.com>
 #include <babeltrace/graph/component-internal.h>
 #include <babeltrace/graph/component-class-internal.h>
 
-struct bt_value;
-
 struct bt_component_source {
        struct bt_component parent;
 };
 
-/**
- * Allocate a source component.
- *
- * @param class                        Component class
- * @param params               A dictionary of component parameters
- * @returns                    A source component instance
- */
 BT_HIDDEN
 struct bt_component *bt_component_source_create(
-               struct bt_component_class *class, struct bt_value *params);
+               const struct bt_component_class *class);
 
 BT_HIDDEN
 void bt_component_source_destroy(struct bt_component *component);
 
-#endif /* BABELTRACE_COMPONENT_SOURCE_INTERNAL_H */
+#endif /* BABELTRACE_GRAPH_COMPONENT_SOURCE_INTERNAL_H */
This page took 0.026348 seconds and 4 git commands to generate.