summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-08-04 05:02:19 -0400
committermidipix <writeonce@midipix.org>2018-08-04 05:21:03 -0400
commit2dfa014f328f366d1f78481d9f91c76df5b5007a (patch)
treeff12454b64c8cceb1966e548dee81bf6612abb74 /include
parentd4f88d42725956c3aa6d9c6e83e70729c1a938e8 (diff)
downloadsofort-2dfa014f328f366d1f78481d9f91c76df5b5007a.tar.bz2
sofort-2dfa014f328f366d1f78481d9f91c76df5b5007a.tar.xz
output interfaces: revised API and implementation to use fdctx and pure fdio.
Diffstat (limited to 'include')
-rw-r--r--include/sofort/sofort.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/sofort/sofort.h b/include/sofort/sofort.h
index 1c1dee2..e516d90 100644
--- a/include/sofort/sofort.h
+++ b/include/sofort/sofort.h
@@ -130,9 +130,12 @@ sfrt_api int sfrt_set_driver_fdctx (struct sfrt_driver_ctx *, const struct
/* utility api */
sfrt_api int sfrt_main (int, char **, char **, const struct sfrt_fd_ctx *);
-sfrt_api int sfrt_output_dummy (const struct sfrt_common_ctx *, FILE *); /* dummy */
-sfrt_api int sfrt_output_name (const struct sfrt_unit_ctx *, FILE *); /* dummy */
-sfrt_api int sfrt_output_address (const struct sfrt_unit_ctx *, FILE *); /* dummy */
+
+sfrt_api int sfrt_output_dummy (const struct sfrt_driver_ctx *); /* dummy */
+sfrt_api int sfrt_output_name (const struct sfrt_driver_ctx *, const struct sfrt_unit_ctx *); /* dummy */
+sfrt_api int sfrt_output_address (const struct sfrt_driver_ctx *, const struct sfrt_unit_ctx *); /* dummy */
+
+/* error trace api */
sfrt_api int sfrt_output_error_record (const struct sfrt_driver_ctx *, const struct sfrt_error_info *);
sfrt_api int sfrt_output_error_vector (const struct sfrt_driver_ctx *);