SCP session. More...
#include <scp_server.h>
Data Fields | |
| ScpServerSessionState | state |
| Session state. More... | |
| ScpServerContext * | context |
| SCP server context. More... | |
| SshChannel * | channel |
| Underlying SSH channel. More... | |
| char_t | rootDir [SCP_SERVER_MAX_ROOT_DIR_LEN+1] |
| Root directory. More... | |
| char_t | homeDir [SCP_SERVER_MAX_HOME_DIR_LEN+1] |
| Home directory. More... | |
| char_t | path [SCP_SERVER_MAX_PATH_LEN+1] |
| Path name. More... | |
| bool_t | recursive |
| Recursive copy. More... | |
| bool_t | targetIsDir |
| The target is a directory. More... | |
| uint_t | dirLevel |
| Current level of recursion. More... | |
| FsDir * | dir [SCP_SERVER_MAX_RECURSION_LEVEL] |
| Directory pointers. More... | |
| FsFile * | file |
| File pointer. More... | |
| uint32_t | fileMode |
| File access rights. More... | |
| uint64_t | fileSize |
| Size of the file, in bytes. More... | |
| uint64_t | fileOffset |
| Offset within the file. More... | |
| char_t | buffer [SCP_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... | |
| error_t | statusCode |
| Status code. More... | |
Detailed Description
SCP session.
Definition at line 204 of file scp_server.h.
Field Documentation
◆ buffer
| char_t buffer[SCP_SERVER_BUFFER_SIZE] |
Memory buffer for input/output operations.
Definition at line 220 of file scp_server.h.
◆ bufferLen
| size_t bufferLen |
Actual length of the buffer, in bytes.
Definition at line 222 of file scp_server.h.
◆ bufferPos
| size_t bufferPos |
Current position in the buffer.
Definition at line 221 of file scp_server.h.
◆ channel
| SshChannel* channel |
Underlying SSH channel.
Definition at line 208 of file scp_server.h.
◆ context
| ScpServerContext* context |
SCP server context.
Definition at line 207 of file scp_server.h.
◆ dir
Directory pointers.
Definition at line 215 of file scp_server.h.
◆ dirLevel
| uint_t dirLevel |
Current level of recursion.
Definition at line 214 of file scp_server.h.
◆ file
| FsFile* file |
File pointer.
Definition at line 216 of file scp_server.h.
◆ fileMode
| uint32_t fileMode |
File access rights.
Definition at line 217 of file scp_server.h.
◆ fileOffset
| uint64_t fileOffset |
Offset within the file.
Definition at line 219 of file scp_server.h.
◆ fileSize
| uint64_t fileSize |
Size of the file, in bytes.
Definition at line 218 of file scp_server.h.
◆ homeDir
| char_t homeDir[SCP_SERVER_MAX_HOME_DIR_LEN+1] |
Home directory.
Definition at line 210 of file scp_server.h.
◆ path
| char_t path[SCP_SERVER_MAX_PATH_LEN+1] |
Path name.
Definition at line 211 of file scp_server.h.
◆ recursive
| bool_t recursive |
Recursive copy.
Definition at line 212 of file scp_server.h.
◆ rootDir
| char_t rootDir[SCP_SERVER_MAX_ROOT_DIR_LEN+1] |
Root directory.
Definition at line 209 of file scp_server.h.
◆ state
| ScpServerSessionState state |
Session state.
Definition at line 206 of file scp_server.h.
◆ statusCode
| error_t statusCode |
Status code.
Definition at line 223 of file scp_server.h.
◆ targetIsDir
| bool_t targetIsDir |
The target is a directory.
Definition at line 213 of file scp_server.h.
The documentation for this struct was generated from the following file:
- cyclone_ssh/scp/scp_server.h
