Functions to handle SSH buffers. More...
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. | |
struct ssh_buffer_struct * | ssh_buffer_new (void) |
Create a new SSH buffer. |
Functions to handle SSH buffers.
void ssh_buffer_free | ( | struct ssh_buffer_struct * | buffer | ) |
Deallocate a SSH buffer.
[in] | buffer | The buffer to free. |
Referenced by publickey_from_file(), publickey_to_string(), ssh_channel_change_pty_size(), ssh_channel_free(), ssh_channel_new(), ssh_channel_open_forward(), ssh_channel_request_env(), ssh_channel_request_exec(), ssh_channel_request_pty_size(), ssh_channel_request_send_signal(), ssh_channel_request_subsystem(), ssh_channel_request_x11(), ssh_forward_cancel(), ssh_forward_listen(), and ssh_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. |
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 | ) | [read] |
Create a new SSH buffer.
Referenced by publickey_to_string(), ssh_channel_change_pty_size(), ssh_channel_new(), ssh_channel_open_forward(), ssh_channel_request_env(), ssh_channel_request_exec(), ssh_channel_request_pty_size(), ssh_channel_request_send_signal(), ssh_channel_request_subsystem(), ssh_channel_request_x11(), ssh_forward_cancel(), ssh_forward_listen(), and ssh_new().