summaryrefslogtreecommitdiffstats
path: root/diag.h
diff options
context:
space:
mode:
Diffstat (limited to 'diag.h')
-rw-r--r--diag.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/diag.h b/diag.h
index 8faef07..aa5e1c7 100644
--- a/diag.h
+++ b/diag.h
@@ -27,6 +27,11 @@
#include <stdbool.h>
/**
+ * Like perror(), but decorated like bfs_error().
+ */
+void bfs_perror(const struct bfs_ctx *ctx, const char *str);
+
+/**
* Shorthand for printing error messages.
*/
BFS_FORMATTER(2, 3)