lib: add aliases for Babeltrace enumeration types
[babeltrace.git] / plugins / utils / trimmer / trimmer.h
index fafb7ada0d56ad04ade3546f57fba94ba44a00b9..2e63b881710cd4258edf4f3d3b4df34fe19c29f0 100644 (file)
@@ -29,8 +29,7 @@
 
 #include <stdbool.h>
 #include <babeltrace/babeltrace-internal.h>
-#include <babeltrace/values.h>
-#include <babeltrace/component/private-component.h>
+#include <babeltrace/babeltrace.h>
 
 #define NSEC_PER_SEC   1000000000LL
 
@@ -50,10 +49,10 @@ struct trimmer {
        int year, month, day;
 };
 
-enum bt_component_status trimmer_component_init(
-       struct bt_private_component *component,
-       struct bt_value *params, void *init_method_data);
+bt_component_status trimmer_component_init(
+       bt_self_component *component,
+       bt_value *params, void *init_method_data);
 
-void destroy_trimmer(struct bt_private_component *component);
+void finalize_trimmer(bt_self_component *component);
 
 #endif /* BABELTRACE_PLUGINS_UTILS_TRIMMER_H */
This page took 0.023955 seconds and 4 git commands to generate.