X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Firssi%2Fsrc%2Fcore%2Fnet-disconnect.h;fp=apps%2Firssi%2Fsrc%2Fcore%2Fnet-disconnect.h;h=37a468467ebcdcd940fa218988f3b0ffb8e47e22;hb=18d69a0a1fec438e241bb4f431506ed59a34066b;hp=a1ca06430b1c01bce133414b36811c48257d7c53;hpb=f7be6adec0248118cddde9b04522c13cd90568cd;p=silc.git diff --git a/apps/irssi/src/core/net-disconnect.h b/apps/irssi/src/core/net-disconnect.h index a1ca0643..37a46846 100644 --- a/apps/irssi/src/core/net-disconnect.h +++ b/apps/irssi/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);