summaryrefslogtreecommitdiffstats
path: root/include/libssh
diff options
context:
space:
mode:
authorFabiano Fidêncio <fidencio@redhat.com>2015-09-25 01:10:03 +0200
committerFabiano Fidêncio <fidencio@redhat.com>2015-10-12 13:56:21 +0200
commit154c3217f221a10c5157359755ea7dcae8eb1311 (patch)
tree704802989b66661c3624aaf053aa224721951c4f /include/libssh
parent8dabdc7c417948f2966dba6ef1dede23d23d45f7 (diff)
downloadlibssh-154c3217f221a10c5157359755ea7dcae8eb1311.tar.gz
libssh-154c3217f221a10c5157359755ea7dcae8eb1311.tar.xz
libssh-154c3217f221a10c5157359755ea7dcae8eb1311.zip
buffer: rename ssh_buffer_get_rest() to ssh_buffer_get()
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/buffer.h b/include/libssh/buffer.h
index 3ff794a8..15294b2d 100644
--- a/include/libssh/buffer.h
+++ b/include/libssh/buffer.h
@@ -79,7 +79,7 @@ int ssh_buffer_add_buffer(ssh_buffer buffer, ssh_buffer source);
int ssh_buffer_reinit(ssh_buffer buffer);
/* ssh_buffer_get_rest returns a pointer to the current position into the buffer */
-void *ssh_buffer_get_rest(ssh_buffer buffer);
+void *ssh_buffer_get(ssh_buffer buffer);
/* ssh_buffer_get_rest_len returns the number of bytes which can be read */
uint32_t ssh_buffer_get_rest_len(ssh_buffer buffer);