summaryrefslogtreecommitdiff
path: root/lib/err.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/err.h')
-rw-r--r--lib/err.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/err.h b/lib/err.h
new file mode 100644
index 0000000..5e1c9c9
--- /dev/null
+++ b/lib/err.h
@@ -0,0 +1,9 @@
+/* Copyright 2011 NORDUnet A/S. All rights reserved.
+ See the file COPYING for licensing information. */
+
+struct rs_error *err_create (unsigned int code,
+ const char *file,
+ int line,
+ const char *fmt,
+ ...);
+int err_conn_push_err (struct rs_connection *conn, struct rs_error *err);