_ScpClientContext Struct Reference

SCP client context. More...

#include <scp_client.h>

Data Fields

ScpClientState state
 SCP client state. More...
 
NetInterfaceinterface
 Underlying network interface. More...
 
ScpClientSshInitCallback sshInitCallback
 SSH initialization callback function. More...
 
systime_t timeout
 Timeout value. More...
 
systime_t timestamp
 Timestamp to manage timeout. More...
 
char_t buffer [SCP_CLIENT_BUFFER_SIZE]
 Memory buffer for input/output operations. More...
 
size_t bufferLen
 Length of the buffer, in bytes. More...
 
size_t bufferPos
 Current position in the buffer. More...
 
ScpOpcode statusCode
 Status code. More...
 
uint64_t fileSize
 Size of the file, in bytes. More...
 
uint64_t fileOffset
 Offset within the file. More...
 
SshContext sshContext
 SSH context. More...
 
SshConnection sshConnection
 SSH connection. More...
 
SshChannel sshChannel
 SSH channel. More...
 

Detailed Description

SCP client context.

Definition at line 112 of file scp_client.h.

Field Documentation

◆ buffer

Memory buffer for input/output operations.

Definition at line 119 of file scp_client.h.

◆ bufferLen

size_t bufferLen

Length of the buffer, in bytes.

Definition at line 120 of file scp_client.h.

◆ bufferPos

size_t bufferPos

Current position in the buffer.

Definition at line 121 of file scp_client.h.

◆ fileOffset

uint64_t fileOffset

Offset within the file.

Definition at line 124 of file scp_client.h.

◆ fileSize

uint64_t fileSize

Size of the file, in bytes.

Definition at line 123 of file scp_client.h.

◆ interface

NetInterface* interface

Underlying network interface.

Definition at line 115 of file scp_client.h.

◆ sshChannel

SshChannel sshChannel

SSH channel.

Definition at line 127 of file scp_client.h.

◆ sshConnection

SshConnection sshConnection

SSH connection.

Definition at line 126 of file scp_client.h.

◆ sshContext

SshContext sshContext

SSH context.

Definition at line 125 of file scp_client.h.

◆ sshInitCallback

ScpClientSshInitCallback sshInitCallback

SSH initialization callback function.

Definition at line 116 of file scp_client.h.

◆ state

SCP client state.

Definition at line 114 of file scp_client.h.

◆ statusCode

ScpOpcode statusCode

Status code.

Definition at line 122 of file scp_client.h.

◆ timeout

systime_t timeout

Timeout value.

Definition at line 117 of file scp_client.h.

◆ timestamp

systime_t timestamp

Timestamp to manage timeout.

Definition at line 118 of file scp_client.h.


The documentation for this struct was generated from the following file: