diff options
Diffstat (limited to 'include/libssh')
-rw-r--r-- | include/libssh/buffer.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/libssh/buffer.h b/include/libssh/buffer.h index dec11739..4a50bcc7 100644 --- a/include/libssh/buffer.h +++ b/include/libssh/buffer.h @@ -23,7 +23,13 @@ #define BUFFER_H_ #include "libssh/libssh.h" -/* Describes a buffer state */ +/* + * Describes a buffer state + * [XXXXXXXXXXXXDATA PAYLOAD XXXXXXXXXXXXXXXXXXXXXXXX] + * ^ ^ ^ ^] + * \_data points\_pos points here \_used points here | / + * here Allocated + */ struct ssh_buffer_struct { char *data; uint32_t used; |