#include <babeltrace2/ctf-writer/stream-class.h>
#include <babeltrace2/ctf-writer/trace.h>
#include <babeltrace2/ctf/events.h>
-#include <babeltrace2/value.h>
+#include <babeltrace2/babeltrace.h>
#include <glib.h>
#include <unistd.h>
#include "compat/stdlib.h"
#include "compat/stdio.h"
#include <string.h>
#include "common/assert.h"
+#include "common/uuid.h"
#include <fcntl.h>
#include "tap/tap.h"
#include <math.h>
/* Return 1 if uuids match, zero if different. */
static
-int uuid_match(const unsigned char *uuid_a, const unsigned char *uuid_b)
+int uuid_match(const uint8_t *uuid_a, const uint8_t *uuid_b)
{
int ret = 0;
int i;
struct bt_ctf_stream *stream1;
struct bt_ctf_stream *stream;
const char *ret_string;
- const unsigned char *ret_uuid;
- unsigned char tmp_uuid[16] = { 0 };
+ const uint8_t *ret_uuid;
+ bt_uuid_t tmp_uuid = { 0 };
struct bt_ctf_field_type *packet_context_type,
*packet_context_field_type,
*packet_header_type,