diff options
author | Arno Töll <arno@debian.org> | 2012-11-21 23:03:44 +0100 |
---|---|---|
committer | Arno Töll <arno@debian.org> | 2012-11-21 23:03:44 +0100 |
commit | c99b717062c6228c4ac6df3831702f81c9806df4 (patch) | |
tree | 8cc83ebb36aa5b7f8691152db83071784fbfc1c7 /src/buffer.h | |
parent | 1b24d86e6b2179692e60091dec59f797cd308b9e (diff) | |
download | lighttpd-upstream/1.4.13_r1370.tar.gz |
Imported Upstream version 1.4.13~r1370upstream/1.4.13_r1370
Diffstat (limited to 'src/buffer.h')
-rw-r--r-- | src/buffer.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/buffer.h b/src/buffer.h index 82a5f83..3ca22e5 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -12,23 +12,23 @@ typedef struct { char *ptr; - + size_t used; size_t size; } buffer; typedef struct { buffer **ptr; - + size_t used; size_t size; } buffer_array; typedef struct { char *ptr; - + size_t offset; /* input-pointer */ - + size_t used; /* output-pointer */ size_t size; } read_buffer; @@ -43,7 +43,7 @@ buffer* buffer_init_buffer(buffer *b); buffer* buffer_init_string(const char *str); void buffer_free(buffer *b); void buffer_reset(buffer *b); - + int buffer_prepare_copy(buffer *b, size_t size); int buffer_prepare_append(buffer *b, size_t size); |