#include <glib.h>
#include <inttypes.h>
-#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
#include <babeltrace2/babeltrace.h>
#include "../bfcr/bfcr.hpp"
#include "msg-iter.hpp"
-
-struct ctf_msg_iter;
+#include "plugins/ctf/common/metadata/ctf-meta.hpp"
/* A visit stack entry */
struct stack_entry
size_t index;
};
-struct ctf_msg_iter;
-
/* Visit stack */
struct stack
{
/*
* Ensure the message iterator's `stored_values` array is large enough to
- * accomodate `storing_index`.
+ * accommodate `storing_index`.
*
* We may need more slots in the array than initially allocated if more
* metadata arrives along the way.
}
goto end;
case STATE_EMIT_MSG_DISCARDED_EVENTS:
- /* create_msg_discared_events() logs errors */
+ /* create_msg_discarded_events() logs errors */
*message = create_msg_discarded_events(msg_it);
if (!*message) {
goto end;
case STATE_EMIT_MSG_DISCARDED_PACKETS:
- /* create_msg_discared_packets() logs errors */
+ /* create_msg_discarded_packets() logs errors */
*message = create_msg_discarded_packets(msg_it);
if (!*message) {