summaryrefslogtreecommitdiff
path: root/lib
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
parent8967b5275fa61ddba7031b5b82750031e4f8bb4b (diff)
Add missing header files.
Diffstat (limited to 'lib')
-rw-r--r--lib/conn.h6
-rw-r--r--lib/err.h9
2 files changed, 15 insertions, 0 deletions
diff --git a/lib/conn.h b/lib/conn.h
new file mode 100644
index 0000000..18d2da3
--- /dev/null
+++ b/lib/conn.h
@@ -0,0 +1,6 @@
+/* Copyright 2011 NORDUnet A/S. All rights reserved.
+ See the file COPYING for licensing information. */
+
+int conn_user_dispatch_p (const struct rs_connection *conn);
+int conn_close (struct rs_connection **connp);
+int conn_activate_timeout (struct rs_connection *conn);
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);