Move to kernel style SPDX license identifiers
[babeltrace.git] / src / plugins / ctf / fs-src / query.h
index 89e31838f86cbbd1040146093ffc2e711c9ef2d5..bfeebad66d06b4eef5240d45d4c26dea0cfe329f 100644 (file)
@@ -1,41 +1,31 @@
-#ifndef BABELTRACE_PLUGIN_CTF_FS_QUERY_H
-#define BABELTRACE_PLUGIN_CTF_FS_QUERY_H
-
 /*
- * BabelTrace - CTF on File System Component
+ * SPDX-License-Identifier: MIT
  *
  * Copyright 2017 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
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
+ * BabelTrace - CTF on File System Component
  */
 
+#ifndef BABELTRACE_PLUGIN_CTF_FS_QUERY_H
+#define BABELTRACE_PLUGIN_CTF_FS_QUERY_H
+
 #include "common/macros.h"
 #include <babeltrace2/babeltrace.h>
 
 BT_HIDDEN
-bt_query_status metadata_info_query(
+bt_component_class_query_method_status metadata_info_query(
                bt_self_component_class_source *comp_class,
                const bt_value *params,
                bt_logging_level log_level, const bt_value **result);
 
 BT_HIDDEN
-bt_query_status trace_info_query(
+bt_component_class_query_method_status trace_infos_query(
+               bt_self_component_class_source *comp_class,
+               const bt_value *params, bt_logging_level log_level,
+               const bt_value **result);
+
+BT_HIDDEN
+bt_component_class_query_method_status support_info_query(
                bt_self_component_class_source *comp_class,
                const bt_value *params, bt_logging_level log_level,
                const bt_value **result);
This page took 0.023251 seconds and 4 git commands to generate.