summaryrefslogtreecommitdiff
path: root/lib/conn.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2013-02-18 17:12:20 +0100
committerLinus Nordberg <linus@nordberg.se>2013-02-19 11:07:00 +0100
commitec47efe2b20e8ff21489744caaf646c692243860 (patch)
tree298581f11142b39e185b9c10e8bd6f1c435b026c /lib/conn.h
parent10fce2b693e8483d9cc7c024c1a2cd66e8fbef27 (diff)
WIP commit for listener support.
Diffstat (limited to 'lib/conn.h')
-rw-r--r--lib/conn.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/conn.h b/lib/conn.h
index c538a8c..c1543d9 100644
--- a/lib/conn.h
+++ b/lib/conn.h
@@ -1,4 +1,4 @@
-/* Copyright 2011 NORDUnet A/S. All rights reserved.
+/* Copyright 2011,2013 NORDUnet A/S. All rights reserved.
See LICENSE for licensing information. */
int conn_close (struct rs_connection **connp);
@@ -6,3 +6,9 @@ int conn_user_dispatch_p (const struct rs_connection *conn);
int conn_activate_timeout (struct rs_connection *conn);
int conn_type_tls (const struct rs_connection *conn);
int conn_cred_psk (const struct rs_connection *conn);
+int conn_configure (struct rs_context *ctx,
+ struct rs_conn_base *connbase,
+ const char *config);
+void conn_init (struct rs_context *ctx,
+ struct rs_conn_base *connbase,
+ enum rs_conn_subtype type);