| libssh
    0.7.3
    | 
Functions to handle SSH buffers. More...
| Functions | |
| void | ssh_buffer_free (struct ssh_buffer_struct *buffer) | 
| Deallocate a SSH buffer.  More... | |
| void * | ssh_buffer_get_begin (struct ssh_buffer_struct *buffer) | 
| Get a pointer on the head of a buffer.  More... | |
| uint32_t | ssh_buffer_get_len (struct ssh_buffer_struct *buffer) | 
| Get the length of the buffer, not counting position.  More... | |
| struct ssh_buffer_struct * | ssh_buffer_new (void) | 
| Create a new SSH buffer.  More... | |
| void | ssh_buffer_set_secure (ssh_buffer buffer) | 
| Sets the buffer as secure.  More... | |
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 sftp_async_read_begin(), sftp_attributes_free(), sftp_canonicalize_path(), sftp_closedir(), sftp_free(), sftp_fstat(), sftp_fstatvfs(), sftp_get_error(), sftp_init(), sftp_mkdir(), sftp_open(), sftp_opendir(), sftp_read(), sftp_readdir(), sftp_readlink(), sftp_rename(), sftp_rmdir(), sftp_server_init(), sftp_setstat(), sftp_statvfs(), sftp_symlink(), sftp_unlink(), sftp_write(), ssh_channel_cancel_forward(), ssh_channel_change_pty_size(), ssh_channel_free(), ssh_channel_listen_forward(), ssh_channel_new(), ssh_channel_open_forward(), ssh_channel_open_reverse_forward(), ssh_channel_open_x11(), ssh_channel_request_env(), ssh_channel_request_exec(), ssh_channel_request_pty_size(), ssh_channel_request_send_exit_signal(), ssh_channel_request_send_exit_status(), ssh_channel_request_send_signal(), ssh_channel_request_subsystem(), ssh_channel_request_x11(), ssh_free(), ssh_gssapi_get_creds(), ssh_message_free(), ssh_pki_export_pubkey_base64(), and ssh_pki_import_pubkey_base64().
| 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. | 
Referenced by ssh_gssapi_get_creds(), and ssh_pki_export_pubkey_base64().
| 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. | 
References ssh_string_data(), and ssh_string_new().
Referenced by ssh_gssapi_get_creds(), and ssh_pki_export_pubkey_base64().
| struct ssh_buffer_struct* ssh_buffer_new | ( | void | ) | 
Create a new SSH buffer.
Referenced by sftp_async_read_begin(), sftp_attributes_free(), sftp_canonicalize_path(), sftp_free(), sftp_fstat(), sftp_fstatvfs(), sftp_get_error(), sftp_init(), sftp_mkdir(), sftp_open(), sftp_opendir(), sftp_read(), sftp_readdir(), sftp_readlink(), sftp_rename(), sftp_rmdir(), sftp_server_init(), sftp_setstat(), sftp_statvfs(), sftp_symlink(), sftp_unlink(), sftp_write(), ssh_channel_cancel_forward(), ssh_channel_change_pty_size(), ssh_channel_listen_forward(), ssh_channel_new(), ssh_channel_open_forward(), ssh_channel_open_reverse_forward(), ssh_channel_open_x11(), ssh_channel_request_env(), ssh_channel_request_exec(), ssh_channel_request_pty_size(), ssh_channel_request_send_exit_signal(), ssh_channel_request_send_exit_status(), ssh_channel_request_send_signal(), ssh_channel_request_subsystem(), ssh_channel_request_x11(), ssh_message_free(), ssh_new(), ssh_pki_export_pubkey_base64(), and ssh_pki_import_pubkey_base64().
| void ssh_buffer_set_secure | ( | ssh_buffer | buffer | ) | 
Sets the buffer as secure.
A secure buffer will never leave cleartext data in the heap after being reallocated or freed.
| [in] | buffer | buffer to set secure. | 
References ssh_string_len().
Referenced by ssh_pki_export_pubkey_base64().
 1.8.11
 1.8.11