_ScpServerContext Struct Reference

SCP server context. More...

#include <scp_server.h>

Data Fields

SshServerContextsshServerContext
 SSH server context. More...
 
uint_t numSessions
 Maximum number of SCP sessions. More...
 
ScpServerSessionsessions
 SCP sessions. More...
 
char_t rootDir [SCP_SERVER_MAX_ROOT_DIR_LEN+1]
 Root directory. More...
 
ScpServerCheckUserCallback checkUserCallback
 User verification callback function. More...
 
ScpServerGetFilePermCallback getFilePermCallback
 Callback used to retrieve file permissions. More...
 
bool_t running
 Operational state of the FTP server. More...
 
bool_t stop
 Stop request. More...
 
OsEvent event
 Event object used to poll the channels. More...
 
OsTaskParameters taskParams
 Task parameters. More...
 
OsTaskId taskId
 Task identifier. More...
 
SshChannelEventDesc eventDesc [SCP_SERVER_MAX_SESSIONS]
 The events the application is interested in. More...
 
char_t path [SCP_SERVER_MAX_PATH_LEN+1]
 Path name. More...
 

Detailed Description

SCP server context.

Definition at line 231 of file scp_server.h.

Field Documentation

◆ checkUserCallback

ScpServerCheckUserCallback checkUserCallback

User verification callback function.

Definition at line 237 of file scp_server.h.

◆ event

OsEvent event

Event object used to poll the channels.

Definition at line 241 of file scp_server.h.

◆ eventDesc

The events the application is interested in.

Definition at line 244 of file scp_server.h.

◆ getFilePermCallback

ScpServerGetFilePermCallback getFilePermCallback

Callback used to retrieve file permissions.

Definition at line 238 of file scp_server.h.

◆ numSessions

uint_t numSessions

Maximum number of SCP sessions.

Definition at line 234 of file scp_server.h.

◆ path

Path name.

Definition at line 245 of file scp_server.h.

◆ rootDir

Root directory.

Definition at line 236 of file scp_server.h.

◆ running

bool_t running

Operational state of the FTP server.

Definition at line 239 of file scp_server.h.

◆ sessions

ScpServerSession* sessions

SCP sessions.

Definition at line 235 of file scp_server.h.

◆ sshServerContext

SshServerContext* sshServerContext

SSH server context.

Definition at line 233 of file scp_server.h.

◆ stop

bool_t stop

Stop request.

Definition at line 240 of file scp_server.h.

◆ taskId

OsTaskId taskId

Task identifier.

Definition at line 243 of file scp_server.h.

◆ taskParams

OsTaskParameters taskParams

Task parameters.

Definition at line 242 of file scp_server.h.


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