Fix: add missing decoder-packetized-file-stream-to-buf.h
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 29 Oct 2019 15:47:56 +0000 (11:47 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 29 Oct 2019 17:55:44 +0000 (13:55 -0400)
The previous commit (b8433fc, "Fix: add missing
decoder-packetized-file-stream-to-buf.h") was missing this file.

Change-Id: Ib7f1782b4ca0e12abb59b69e4213b899003128a7
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2301

src/plugins/ctf/common/metadata/Makefile.am
src/plugins/ctf/common/metadata/decoder-packetized-file-stream-to-buf.h [new file with mode: 0644]

index d37b3835a590d43f540108a07975b904ed1f1d62..efbd50b91d9a32fae5a6f5d1776dde9afe67c15f 100644 (file)
@@ -23,8 +23,9 @@ libctf_ast_la_SOURCES = \
        scanner.h \
        scanner-symbols.h \
        decoder.c \
-       decoder-packetized-file-stream-to-buf.c \
        decoder.h \
+       decoder-packetized-file-stream-to-buf.c \
+       decoder-packetized-file-stream-to-buf.h \
        logging.c \
        logging.h \
        ctf-meta.h \
diff --git a/src/plugins/ctf/common/metadata/decoder-packetized-file-stream-to-buf.h b/src/plugins/ctf/common/metadata/decoder-packetized-file-stream-to-buf.h
new file mode 100644 (file)
index 0000000..cd569df
--- /dev/null
@@ -0,0 +1,29 @@
+/*
+ * Copyright 2019 - Efficios, Inc.
+ *
+ * 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.
+ */
+
+#ifndef SRC_PLUGINS_CTF_COMMON_METADATA_DECODER_PACKETIZED_FILE_STREAM_TO_BUF
+#define SRC_PLUGINS_CTF_COMMON_METADATA_DECODER_PACKETIZED_FILE_STREAM_TO_BUF
+
+#include <stdbool.h>
+#include <stdint.h>
+
+#include <babeltrace2/babeltrace.h>
+
+BT_HIDDEN
+int ctf_metadata_decoder_packetized_file_stream_to_buf(FILE *fp,
+               char **buf, int byte_order, bool *is_uuid_set,
+               uint8_t *uuid, bt_logging_level log_level,
+               bt_self_component *self_comp);
+
+#endif /* SRC_PLUGINS_CTF_COMMON_METADATA_DECODER_PACKETIZED_FILE_STREAM_TO_BUF */
This page took 0.025668 seconds and 4 git commands to generate.