summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libssh/libssh.h2
-rw-r--r--include/libssh/priv.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 6000250..2221386 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -220,6 +220,8 @@ void ssh_options_set_rsa_server_key(SSH_OPTIONS *opt, char *rsakey);
/* buffer.c */
+/** creates a new buffer
+ */
BUFFER *buffer_new();
void buffer_free(BUFFER *buffer);
/* buffer_get returns a pointer to the begining of the buffer. no position is taken into account */
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index 1dd6e92..7fbf238 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -150,7 +150,8 @@ struct string_struct {
unsigned char string[MAX_PACKET_LEN];
} __attribute__ ((packed));
-
+/** Describes a buffer state at a moment
+ */
struct buffer_struct {
char *data;
int used;