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
commit e4a562d9ef
3 changed files with 9 additions and 18 deletions

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