summaryrefslogtreecommitdiff
path: root/src/core/net-disconnect.h
blob: 37a468467ebcdcd940fa218988f3b0ffb8e47e22 (plain)
1
2
3
4
5
6
7
8
9
10
11
#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);

#endif