27 SSH_SCP_WRITE_WRITING,
29 SSH_SCP_READ_REQUESTED,
35struct ssh_scp_struct {
41 enum ssh_scp_states state;
44 enum ssh_scp_request_types request_type;
57int ssh_scp_response(ssh_scp scp,
char **response);
int ssh_scp_read_string(ssh_scp scp, char *buffer, size_t len)
Read a string on a channel, terminated by ' '.
Definition scp.c:741
char * ssh_scp_string_mode(int mode)
Convert a unix mode into a scp string.
Definition scp.c:1150
int ssh_scp_integer_mode(const char *mode)
Convert a scp text mode to an integer.
Definition scp.c:1134