SFTP session. More...
#include <sftp_server.h>
Data Fields | |
SftpServerSessionState | state |
Session state. More... | |
SftpVersion | version |
SFTP protocol version. More... | |
SftpServerContext * | context |
SFTP server context. More... | |
SshChannel * | channel |
Underlying SSH channel. More... | |
char_t | rootDir [SFTP_SERVER_MAX_ROOT_DIR_LEN+1] |
Root directory. More... | |
char_t | homeDir [SFTP_SERVER_MAX_HOME_DIR_LEN+1] |
Home directory. More... | |
uint32_t | requestId |
Request identifier. More... | |
error_t | requestStatus |
Status of the request. More... | |
FsFile * | file |
File pointer. More... | |
size_t | dataLen |
Length of the data payload. More... | |
uint8_t | buffer [SFTP_SERVER_BUFFER_SIZE] |
Memory buffer for input/output operations. More... | |
size_t | bufferPos |
Current position in the buffer. More... | |
size_t | bufferLen |
Actual length of the buffer, in bytes. More... | |
size_t | totalLen |
uint32_t | handle |
File or directory handle. More... | |
Detailed Description
SFTP session.
Definition at line 220 of file sftp_server.h.
Field Documentation
◆ buffer
uint8_t buffer[SFTP_SERVER_BUFFER_SIZE] |
Memory buffer for input/output operations.
Definition at line 232 of file sftp_server.h.
◆ bufferLen
size_t bufferLen |
Actual length of the buffer, in bytes.
Definition at line 234 of file sftp_server.h.
◆ bufferPos
size_t bufferPos |
Current position in the buffer.
Definition at line 233 of file sftp_server.h.
◆ channel
SshChannel* channel |
Underlying SSH channel.
Definition at line 225 of file sftp_server.h.
◆ context
SftpServerContext* context |
SFTP server context.
Definition at line 224 of file sftp_server.h.
◆ dataLen
size_t dataLen |
Length of the data payload.
Definition at line 231 of file sftp_server.h.
◆ file
FsFile* file |
File pointer.
Definition at line 230 of file sftp_server.h.
◆ handle
uint32_t handle |
File or directory handle.
Definition at line 236 of file sftp_server.h.
◆ homeDir
char_t homeDir[SFTP_SERVER_MAX_HOME_DIR_LEN+1] |
Home directory.
Definition at line 227 of file sftp_server.h.
◆ requestId
uint32_t requestId |
Request identifier.
Definition at line 228 of file sftp_server.h.
◆ requestStatus
error_t requestStatus |
Status of the request.
Definition at line 229 of file sftp_server.h.
◆ rootDir
char_t rootDir[SFTP_SERVER_MAX_ROOT_DIR_LEN+1] |
Root directory.
Definition at line 226 of file sftp_server.h.
◆ state
SftpServerSessionState state |
Session state.
Definition at line 222 of file sftp_server.h.
◆ totalLen
size_t totalLen |
Definition at line 235 of file sftp_server.h.
◆ version
SftpVersion version |
SFTP protocol version.
Definition at line 223 of file sftp_server.h.
The documentation for this struct was generated from the following file:
- cyclone_ssh/sftp/sftp_server.h