diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/net-sendbuffer.c | 9 | ||||
-rw-r--r-- | src/core/net-sendbuffer.h | 9 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/core/net-sendbuffer.c b/src/core/net-sendbuffer.c index fd1039d6..f8aac80c 100644 --- a/src/core/net-sendbuffer.c +++ b/src/core/net-sendbuffer.c @@ -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 diff --git a/src/core/net-sendbuffer.h b/src/core/net-sendbuffer.h index d2388b41..f492821e 100644 --- a/src/core/net-sendbuffer.h +++ b/src/core/net-sendbuffer.h @@ -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); |