lib: remove "unknown clock snapshot" concept
[babeltrace.git] / include / babeltrace / graph / component-source-internal.h
index 98b523ce236775223add08775d702b43cc9e220e..f1fe9e51d1eb626a27950ff45d852a0967990ef5 100644 (file)
@@ -1,13 +1,10 @@
-#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 2017-2018 Philippe Proulx <pproulx@efficios.com>
  * Copyright 2015 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
- * Author: Jérémie Galarneau <jeremie.galarneau@efficios.com>
- *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
  * in the Software without restriction, including without limitation the rights
 #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);
+               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.047731 seconds and 4 git commands to generate.