#include <stdint.h>
#include <stddef.h>
#include <stdio.h>
-#include <babeltrace/ctf-ir/field-types.h>
+#include <babeltrace/babeltrace.h>
#include <babeltrace/babeltrace-internal.h>
/**
* #BT_CTF_BTR_STATUS_EOF is returned to complete the decoding
* process of a given type.
*/
- BT_CTF_BTR_STATUS_EOF = -4,
+ BT_CTF_BTR_STATUS_EOF = 1,
/** Invalid argument. */
BT_CTF_BTR_STATUS_INVAL = -3,
*
* @param cbs User callback functions
* @param data User data (passed to user callback functions)
- * @param err_stream Error stream (can be \c NULL to disable)
* @returns New binary type reader on success, or \c NULL on error
*/
-struct bt_ctf_btr *bt_ctf_btr_create(struct bt_ctf_btr_cbs cbs, void *data,
- FILE *err_stream);
+struct bt_ctf_btr *bt_ctf_btr_create(struct bt_ctf_btr_cbs cbs, void *data);
/**
* Destroys a CTF binary type reader, freeing all internal resources.