Move to kernel style SPDX license identifiers
[babeltrace.git] / src / plugins / ctf / common / metadata / ctf-meta-visitors.h
index 9eb3cf38893f7f0f8a7232c79745f496182a925e..6152e17dfb5c78d776bf7e38153061a01902e3f8 100644 (file)
@@ -1,35 +1,31 @@
-#ifndef _CTF_META_VISITORS_H
-#define _CTF_META_VISITORS_H
-
 /*
- * Copyright 2018 - Philippe Proulx <pproulx@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:
+ * SPDX-License-Identifier: MIT
  *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
+ * Copyright 2018 Philippe Proulx <pproulx@efficios.com>
  */
 
+#ifndef _CTF_META_VISITORS_H
+#define _CTF_META_VISITORS_H
+
 #include <babeltrace2/babeltrace.h>
-#include "common/babeltrace.h"
+#include "common/macros.h"
 
 #include "ctf-meta.h"
 
+struct meta_log_config;
+
 BT_HIDDEN
-int ctf_trace_class_resolve_field_classes(struct ctf_trace_class *tc);
+int ctf_trace_class_resolve_field_classes(struct ctf_trace_class *tc,
+               struct meta_log_config *log_cfg);
 
 BT_HIDDEN
-int ctf_trace_class_translate(bt_self_component_source *self_comp,
+int ctf_trace_class_translate(bt_self_component *self_comp,
                bt_trace_class *ir_tc, struct ctf_trace_class *tc);
 
 BT_HIDDEN
 int ctf_trace_class_update_default_clock_classes(
-               struct ctf_trace_class *ctf_tc);
+               struct ctf_trace_class *ctf_tc,
+               struct meta_log_config *log_cfg);
 
 BT_HIDDEN
 int ctf_trace_class_update_in_ir(struct ctf_trace_class *ctf_tc);
@@ -47,10 +43,12 @@ BT_HIDDEN
 int ctf_trace_class_update_stream_class_config(struct ctf_trace_class *ctf_tc);
 
 BT_HIDDEN
-int ctf_trace_class_validate(struct ctf_trace_class *ctf_tc);
+int ctf_trace_class_validate(struct ctf_trace_class *ctf_tc,
+               struct meta_log_config *log_cfg);
 
 BT_HIDDEN
 void ctf_trace_class_warn_meaningless_header_fields(
-               struct ctf_trace_class *ctf_tc);
+               struct ctf_trace_class *ctf_tc,
+               struct meta_log_config *log_cfg);
 
 #endif /* _CTF_META_VISITORS_H */
This page took 0.024713 seconds and 4 git commands to generate.