summaryrefslogtreecommitdiff
path: root/lib/err.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-03-09 12:48:00 +0100
committerLinus Nordberg <linus@nordu.net>2011-03-09 12:48:00 +0100
commit7bd18eed0316ca7cae8c416b1853842c7c375355 (patch)
tree514334d70172020b30c425f15abb011e5484a552 /lib/err.h
parent8967b5275fa61ddba7031b5b82750031e4f8bb4b (diff)
Add missing header files.
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);