summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-10-25 23:17:01 -0400
committermidipix <writeonce@midipix.org>2016-10-25 23:17:01 -0400
commitf0da1894a9426e6c8b96bffca140a12a5d63dd08 (patch)
tree55f02036a45ed83500f1677423e3c998fece5642 /include
parentdeb77f01ce96ff9b46cd8706fabd6ee6b6b17f22 (diff)
downloadsofort-f0da1894a9426e6c8b96bffca140a12a5d63dd08.tar.bz2
sofort-f0da1894a9426e6c8b96bffca140a12a5d63dd08.tar.xz
output: added sfrt_output_error_record(), sfrt_output_error_vector().
Diffstat (limited to 'include')
-rw-r--r--include/sofort/sofort.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sofort/sofort.h b/include/sofort/sofort.h
index c5f278a..14ad405 100644
--- a/include/sofort/sofort.h
+++ b/include/sofort/sofort.h
@@ -36,6 +36,10 @@ extern "C" {
#define SFRT_DRIVER_VERSION 0x0010
#define SFRT_DRIVER_DRY_RUN 0x0020
+#define SFRT_DRIVER_ANNOTATE_ALWAYS 0x1000
+#define SFRT_DRIVER_ANNOTATE_NEVER 0x2000
+#define SFRT_DRIVER_ANNOTATE_FULL 0x4000
+
/* unit action flags */
#define SFRT_OUTPUT_NAME 0x0001 /* dummy */
#define SFRT_OUTPUT_ADDRESS 0x0002 /* dummy */
@@ -127,6 +131,8 @@ sfrt_api int sfrt_main (int, char **, char **);
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_error_record (const struct sfrt_driver_ctx *, const struct sfrt_error_info *);
+sfrt_api int sfrt_output_error_vector (const struct sfrt_driver_ctx *);
#ifdef __cplusplus
}