lib: make values API const-correct
[babeltrace.git] / include / babeltrace / graph / private-component-class-filter.h
index 2e09c120fc0d389ab69b74e7544f5831335171d4..01e6cc8fa9c9b24ec195353edb6834ba0b615d4c 100644 (file)
@@ -57,7 +57,7 @@ struct bt_value;
 typedef enum bt_self_component_status
 (*bt_private_component_class_filter_init_method)(
                struct bt_self_component_filter *self_component,
-               struct bt_value *params, void *init_method_data);
+               const struct bt_value *params, void *init_method_data);
 
 typedef void (*bt_private_component_class_filter_finalize_method)(
                struct bt_self_component_filter *self_component);
@@ -82,8 +82,8 @@ typedef enum bt_query_status
 (*bt_private_component_class_filter_query_method)(
                struct bt_self_component_class_filter *comp_class,
                struct bt_query_executor *query_executor,
-               const char *object, struct bt_value *params,
-               struct bt_value **result);
+               const char *object, const struct bt_value *params,
+               const struct bt_value **result);
 
 typedef enum bt_self_component_status
 (*bt_private_component_class_filter_accept_input_port_connection_method)(
This page took 0.023584 seconds and 4 git commands to generate.