summaryrefslogtreecommitdiff
path: root/src/core/net-disconnect.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/net-disconnect.h')
-rw-r--r--src/core/net-disconnect.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/net-disconnect.h b/src/core/net-disconnect.h
index a1ca0643..37a46846 100644
--- a/src/core/net-disconnect.h
+++ b/src/core/net-disconnect.h
@@ -1,6 +1,10 @@
#ifndef __NET_DISCONNECT_H
#define __NET_DISCONNECT_H
+/* Try to let the other side close the connection, if it still isn't
+ disconnected after certain amount of time, close it ourself */
+void net_disconnect_later(GIOChannel *handle);
+
void net_disconnect_init(void);
void net_disconnect_deinit(void);