diff options
| author | Fabiano Fidêncio <fidencio@redhat.com> | 2015-09-25 00:46:04 +0200 |
|---|---|---|
| committer | Fabiano Fidêncio <fidencio@redhat.com> | 2015-10-12 13:56:21 +0200 |
| commit | 7f0dd4d2a05427cff37fbb9d92e09185f0ada0db (patch) | |
| tree | 9b67a32e84f45879fecb216a13f76029727011b3 /src | |
| parent | 850936900fb95e59fbc15d3f1d9993385326977f (diff) | |
| download | libssh-7f0dd4d2a05427cff37fbb9d92e09185f0ada0db.tar.gz libssh-7f0dd4d2a05427cff37fbb9d92e09185f0ada0db.tar.xz libssh-7f0dd4d2a05427cff37fbb9d92e09185f0ada0db.zip | |
buffer: remove ssh_buffer_get_begin()
Note that removing ssh_buffer_get_begin() doesn't break API
compatibility, as this functions has never been exposed (it only
has the LIBSSH_API prefix).
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/buffer.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/buffer.c b/src/buffer.c index 801cbd53..0b09e777 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -435,23 +435,6 @@ int ssh_buffer_add_buffer(struct ssh_buffer_struct *buffer, } /** - * @brief Get a pointer on the head of a buffer. - * - * @param[in] buffer The buffer to get the head pointer. - * - * @return A data pointer on the head. It doesn't take the position - * into account. - * - * @warning Don't expect data to be nul-terminated. - * - * @see ssh_buffer_get() - * @see ssh_buffer_get_len() - */ -void *ssh_buffer_get_begin(struct ssh_buffer_struct *buffer){ - return buffer->data; -} - -/** * @internal * * @brief Get a pointer to the head of a buffer at the current position. |
