MityDSP Documentation Index
Public Member Functions | Public Attributes | Static Public Attributes
tcFtpdConfig Class Reference

#include <ftpd.h>

List of all members.

Public Member Functions

 tcFtpdConfig (void)
 ~tcFtpdConfig (void)

Public Attributes

char * mpRootDir
 Root directory for FTP.
char * mpUsername
 Username.
char * mpPassword
 Password.
int mnServerPriority
 Priority of the server thread.
int mnClientPriority
 Priority of the client thread(s)
int mnMaxClients
 Maximum simultaneous client to allow.
unsigned short mnFtpPort
 Port number for server.
unsigned short mnFtpDataPort
 Port number for clients.
bool mbShowFreeSpace
 True to calculate free space on dir listing.

Static Public Attributes

static const char * gpROOT_DIR = "C:"
static const char * gpUSERNAME = "anonymous"
static const char * gpPASSWORD = ""
static const int gnDFLT_FTP_PORT = 21
static const int gnDFLT_DATA_PORT = 20

Detailed Description

The tcFtpdConfig class provides a simple configuration structure that is used to initialize the tcFtpd interface class.


Constructor & Destructor Documentation

tcFtpdConfig::tcFtpdConfig ( void  )
inline
tcFtpdConfig::~tcFtpdConfig ( void  )
inline

Member Data Documentation

const char * tcFtpdConfig::gpROOT_DIR = "C:"
static
const char * tcFtpdConfig::gpUSERNAME = "anonymous"
static
const char * tcFtpdConfig::gpPASSWORD = ""
static
const int tcFtpdConfig::gnDFLT_FTP_PORT = 21
static
const int tcFtpdConfig::gnDFLT_DATA_PORT = 20
static
char* tcFtpdConfig::mpRootDir

Root directory for FTP.

char* tcFtpdConfig::mpUsername

Username.

char* tcFtpdConfig::mpPassword

Password.

int tcFtpdConfig::mnServerPriority

Priority of the server thread.

int tcFtpdConfig::mnClientPriority

Priority of the client thread(s)

int tcFtpdConfig::mnMaxClients

Maximum simultaneous client to allow.

unsigned short tcFtpdConfig::mnFtpPort

Port number for server.

unsigned short tcFtpdConfig::mnFtpDataPort

Port number for clients.

bool tcFtpdConfig::mbShowFreeSpace

True to calculate free space on dir listing.


  
Generated on Mon Apr 22 2013 11:33:33 for MityDSP Net by  Doxygen Version 1.8.1.1
Copyright © 2009, Critical Link LLC, All rights reserved.