Functions | |
void | ssh_buffer_free (struct ssh_buffer_struct *buffer) |
Deallocate a SSH buffer. | |
void * | ssh_buffer_get_begin (struct ssh_buffer_struct *buffer) |
Get a pointer on the head of a buffer. | |
uint32_t | ssh_buffer_get_len (struct ssh_buffer_struct *buffer) |
Get the length of the buffer, not counting position. | |
ssh_buffer_struct * | ssh_buffer_new (void) |
Create a new SSH buffer. |
void ssh_buffer_free | ( | struct ssh_buffer_struct * | buffer | ) |
Deallocate a SSH buffer.
[in] | buffer | The buffer to free. |
void* ssh_buffer_get_begin | ( | struct ssh_buffer_struct * | buffer | ) |
Get a pointer on the head of a buffer.
[in] | buffer | The buffer to get the head pointer. |
buffer_get_len()
uint32_t ssh_buffer_get_len | ( | struct ssh_buffer_struct * | buffer | ) |
Get the length of the buffer, not counting position.
[in] | buffer | The buffer to get the length from. |
struct ssh_buffer_struct* ssh_buffer_new | ( | void | ) |
Create a new SSH buffer.