lib: make trace IR API const-correct
[babeltrace.git] / include / babeltrace / trace-ir / resolve-field-path-internal.h
index dafe50d088e91779ad3e80ab21707f79376640aa..f7abb4e2becbbd1a59552b1f86a1121c1f8b2cac 100644 (file)
@@ -2,8 +2,6 @@
 #define BABELTRACE_TRACE_IR_RESOLVE_FIELD_PATH_INTERNAL
 
 /*
- * BabelTrace - Trace IR: Field path
- *
  * Copyright 2016 Philippe Proulx <pproulx@efficios.com>
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  */
 
 #include <babeltrace/object-internal.h>
-#include <babeltrace/trace-ir/field-types.h>
-#include <babeltrace/trace-ir/field-path.h>
+#include <babeltrace/trace-ir/field-classes-const.h>
+#include <babeltrace/trace-ir/field-path-const.h>
 #include <glib.h>
 
 struct bt_resolve_field_path_context {
-       struct bt_field_type *packet_header;
-       struct bt_field_type *packet_context;
-       struct bt_field_type *event_header;
-       struct bt_field_type *event_common_context;
-       struct bt_field_type *event_specific_context;
-       struct bt_field_type *event_payload;
+       struct bt_field_class *packet_header;
+       struct bt_field_class *packet_context;
+       struct bt_field_class *event_header;
+       struct bt_field_class *event_common_context;
+       struct bt_field_class *event_specific_context;
+       struct bt_field_class *event_payload;
 };
 
 BT_HIDDEN
-int bt_resolve_field_paths(struct bt_field_type *ft,
+int bt_resolve_field_paths(struct bt_field_class *field_class,
                struct bt_resolve_field_path_context *ctx);
 
 #endif /* BABELTRACE_TRACE_IR_RESOLVE_FIELD_PATH_INTERNAL */
This page took 0.023773 seconds and 4 git commands to generate.