Class: SFTPServer::SSH::API::SFTPRequestQueue

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/sftp_server/ssh/api.rb

Overview

/* this is a bunch of all data that could be into a message */ struct sftp_client_message_struct

sftp_session sftp;
uint8_t type;
uint32_t id;
char *filename; /* can be "path" */
uint32_t flags;
sftp_attributes attr;
ssh_string handle;
uint64_t offset;
uint32_t len;
int attr_num;
ssh_buffer attrbuf; /* used by sftp_reply_attrs */
ssh_string data; /* can be newpath of rename() */
ssh_buffer complete_message; /* complete message in case of retransmission*/
  char *str_data; /* cstring version of data */

;