mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -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:
parent
d198fa0abb
commit
7e1128029f
@ -1,6 +1,10 @@
|
|||||||
#ifndef __NET_DISCONNECT_H
|
#ifndef __NET_DISCONNECT_H
|
||||||
#define __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_init(void);
|
||||||
void net_disconnect_deinit(void);
|
void net_disconnect_deinit(void);
|
||||||
|
|
||||||
|
@ -55,9 +55,6 @@ GIOChannel *net_connect_ip(IPADDR *ip, int port, IPADDR *my_ip);
|
|||||||
GIOChannel *net_connect_unix(const char *path);
|
GIOChannel *net_connect_unix(const char *path);
|
||||||
/* Disconnect socket */
|
/* Disconnect socket */
|
||||||
void net_disconnect(GIOChannel *handle);
|
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 */
|
/* Listen for connections on a socket */
|
||||||
GIOChannel *net_listen(IPADDR *my_ip, int *port);
|
GIOChannel *net_listen(IPADDR *my_ip, int *port);
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#include "signals.h"
|
#include "signals.h"
|
||||||
#include "commands.h"
|
#include "commands.h"
|
||||||
#include "line-split.h"
|
#include "line-split.h"
|
||||||
|
#include "net-disconnect.h"
|
||||||
#include "net-nonblock.h"
|
#include "net-nonblock.h"
|
||||||
#include "net-sendbuffer.h"
|
#include "net-sendbuffer.h"
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user