#include <settings.h>
Public Member Functions | |
bool | GetPassive () |
Return if the connection is passive. Returns the value for the setting 'passive' or true if it isn't found. | |
status_t | SetPassive (bool bPassive) |
Set the value for passive. | |
int | GetMaxConnections () |
Return the maximum number of connections. This returns the maximum number of allowable connections or 2 by default. | |
status_t | SetMaxConnections (int nMax) |
Set the maximum number of connections. | |
bool | GetSaveHistory () |
Return the value of the save_history option. Returns the value of the save_history option or true if it doesn't exist. | |
status_t | SetSaveHistory (bool bSave) |
Set the value for the save_history option. |
status_t FTPSettings::SetPassive | ( | bool | bPassive | ) | [inline] |
Set the value for passive.
bPassive | Whether or not this is a passive connection. |
status_t FTPSettings::SetMaxConnections | ( | int | nMax | ) | [inline] |
Set the maximum number of connections.
nMax | The maximum number of connections to allow at one time. |
status_t FTPSettings::SetSaveHistory | ( | bool | bSave | ) | [inline] |
Set the value for the save_history option.
bSave | Value to set the save_history option to. |