lib: prepare the ground for stateful query operations
[babeltrace.git] / include / babeltrace2 / graph / component-class-source.h
index 3aa89cef9e25374ded7cc72fd0f4ec8877c06021..54cc2330580dbe4f9b3011be892f1f658a1a336f 100644 (file)
@@ -2,8 +2,7 @@
 #define BABELTRACE2_GRAPH_COMPONENT_CLASS_SOURCE_H
 
 /*
- * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
- * Copyright 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
+ * Copyright (c) 2010-2019 EfficiOS Inc. and Linux Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
 
 #include <stdint.h>
 
-/* For bt_component_class_*_status */
 #include <babeltrace2/graph/component-class.h>
-
-/*
- * For bt_component_class, bt_component_class_source, bt_port_input,
- * bt_query_executor, bt_self_component_class_source,
- * bt_self_component_source, bt_self_component_port_output, bt_value,
- * bt_message_array_const, bt_bool, bt_self_message_iterator,
- * __BT_UPCAST
- */
 #include <babeltrace2/types.h>
-
-/* For bt_logging_level */
 #include <babeltrace2/logging.h>
 
 #ifdef __cplusplus
@@ -94,9 +82,8 @@ typedef bt_bool
 typedef bt_component_class_query_method_status
 (*bt_component_class_source_query_method)(
                bt_self_component_class_source *comp_class,
-               const bt_query_executor *query_executor,
+               bt_private_query_executor *query_executor,
                const char *object, const bt_value *params,
-               bt_logging_level logging_level,
                const bt_value **result);
 
 typedef bt_component_class_port_connected_method_status
This page took 0.028204 seconds and 4 git commands to generate.