1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

Move net_disconnect_later declaration from network.h to net-disconnect.h.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4783 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2008-03-29 10:25:15 +00:00 committed by exg
parent d198fa0abb
commit 7e1128029f
3 changed files with 5 additions and 3 deletions

View File

@ -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);

View File

@ -55,9 +55,6 @@ GIOChannel *net_connect_ip(IPADDR *ip, int port, IPADDR *my_ip);
GIOChannel *net_connect_unix(const char *path);
/* Disconnect socket */
void net_disconnect(GIOChannel *handle);
/* 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);
/* Listen for connections on a socket */
GIOChannel *net_listen(IPADDR *my_ip, int *port);

View File

@ -22,6 +22,7 @@
#include "signals.h"
#include "commands.h"
#include "line-split.h"
#include "net-disconnect.h"
#include "net-nonblock.h"
#include "net-sendbuffer.h"
#include "misc.h"