Merged Irssi SVN (upcoming irssi 0.8.11).
[silc.git] / apps / irssi / src / core / net-sendbuffer.h
index d2388b419746ff9361cca613dac0f0f301fd643d..f492821e66ac0c394b0f8e79ff1be700dc6fc7fb 100644 (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);