1
0
mirror of https://github.com/irssi/irssi.git synced 2024-07-21 03:14:16 -04:00

moved the _NET_SENDBUF_REC definition out of core/net-sendbuffer.c and irc/proxy/listen.c into core/net-sendbuffer.h

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3948 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Valentin Batz 2005-08-24 19:42:17 +00:00 committed by vb
parent bc91469cf7
commit e4a562d9ef
3 changed files with 9 additions and 18 deletions

View File

@ -23,15 +23,6 @@
#include "network.h"
#include "net-sendbuffer.h"
struct _NET_SENDBUF_REC {
GIOChannel *handle;
int send_tag;
int bufsize;
int bufpos;
char *buffer; /* Buffer is NULL until it's actually needed. */
};
static GSList *buffers;
/* Create new buffer - if `bufsize' is zero or less, DEFAULT_BUFFER_SIZE

View File

@ -3,6 +3,15 @@
#define DEFAULT_BUFFER_SIZE 8192
struct _NET_SENDBUF_REC {
GIOChannel *handle;
int send_tag;
int bufsize;
int bufpos;
char *buffer; /* Buffer is NULL until it's actually needed. */
};
/* Create new buffer - if `bufsize' is zero or less, DEFAULT_BUFFER_SIZE
is used */
NET_SENDBUF_REC *net_sendbuffer_create(GIOChannel *handle, int bufsize);

View File

@ -30,15 +30,6 @@
#include "fe-common/core/printtext.h" /* FIXME: evil. need to do fe-proxy */
struct _NET_SENDBUF_REC {
GIOChannel *handle;
int send_tag;
int bufsize;
int bufpos;
char *buffer; /* Buffer is NULL until it's actually needed. */
};
GSList *proxy_listens;
GSList *proxy_clients;