Extend net_sendbuffer by adding a LINEBUF_REC member and a net_sendbuffer_receive_line

function to read linewise from the associated io channel.
Rewrite irc/dcc/proxy read logic on top of it.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4841 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2008-05-22 22:38:29 +00:00 committed by exg
commit f053542dcf
12 changed files with 33 additions and 50 deletions

View file

@ -3,7 +3,6 @@
#define MODULE_NAME "proxy"
#include "network.h"
#include "line-split.h"
#include "irc.h"
#include "irc-servers.h"
@ -18,8 +17,6 @@ typedef struct {
} LISTEN_REC;
typedef struct {
LINEBUF_REC *buffer;
char *nick, *host;
NET_SENDBUF_REC *handle;
int recv_tag;