summaryrefslogtreecommitdiff
path: root/lib/conn.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2013-05-15 11:57:09 +0200
committerLinus Nordberg <linus@nordberg.se>2013-05-15 11:57:09 +0200
commit65b62d83ee72012d1171f1813b8f989f8805497c (patch)
treed90452346d8a2c8cba610315f483ef50fed0b698 /lib/conn.h
parentfed9094cd8cda69605d0c103acd14308379b6eb0 (diff)
Don't crash on reading invalid messages.
Also, invoke disconnected callback and close connection in error cases.
Diffstat (limited to 'lib/conn.h')
-rw-r--r--lib/conn.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/conn.h b/lib/conn.h
index dfeaf74..66e15e2 100644
--- a/lib/conn.h
+++ b/lib/conn.h
@@ -1,7 +1,6 @@
/* Copyright 2011,2013 NORDUnet A/S. All rights reserved.
See LICENSE for licensing information. */
-int conn_close (struct rs_connection **connp);
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);