Avoid unnecessary inclusions in public headers
[deliverable/babeltrace.git] / plugins / ctf / common / btr / btr.h
index fb7d850aad9aed587f078e3149e9878c5aaa2c0c..4b5e7bc78b814f22f46d1527a590bb3f27bbf55c 100644 (file)
@@ -29,7 +29,7 @@
 #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>
 
 /**
@@ -63,7 +63,7 @@ enum bt_ctf_btr_status {
         * #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,
@@ -275,11 +275,9 @@ struct bt_ctf_btr_cbs {
  *
  * @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.
This page took 0.02533 seconds and 5 git commands to generate.