mirror of
https://github.com/glest/glest-source.git
synced 2025-08-12 19:33:59 +02:00
Fixed the god-awful indentation
This commit is contained in:
@@ -22,65 +22,65 @@
|
||||
#ifndef FTPCONFIG_H_
|
||||
#define FTPCONFIG_H_
|
||||
|
||||
/**
|
||||
* @brief max. possible simultaneous FTP client connections
|
||||
*/
|
||||
/**
|
||||
* @brief max. possible simultaneous FTP client connections
|
||||
*/
|
||||
#define MAX_CONNECTIONS 20
|
||||
|
||||
/**
|
||||
* @brief max. possible user accounts
|
||||
*/
|
||||
/**
|
||||
* @brief max. possible user accounts
|
||||
*/
|
||||
#define MAX_USERS 10
|
||||
|
||||
/**
|
||||
* @brief max. length of a user account name
|
||||
*/
|
||||
/**
|
||||
* @brief max. length of a user account name
|
||||
*/
|
||||
#define MAXLEN_USERNAME 40
|
||||
|
||||
/**
|
||||
* @brief max. length of a user account password
|
||||
*/
|
||||
/**
|
||||
* @brief max. length of a user account password
|
||||
*/
|
||||
#define MAXLEN_PASSWORD 40
|
||||
|
||||
/**
|
||||
* @brief session timeout in seconds
|
||||
*/
|
||||
/**
|
||||
* @brief session timeout in seconds
|
||||
*/
|
||||
#define SESSION_TIMEOUT 600
|
||||
|
||||
/**
|
||||
* @brief maximum length of a complete directory path
|
||||
*/
|
||||
/**
|
||||
* @brief maximum length of a complete directory path
|
||||
*/
|
||||
#define MAX_PATH_LEN 1024
|
||||
|
||||
/**
|
||||
* @brief Size of the scratch buffer
|
||||
*
|
||||
* The scratch buffer is used for
|
||||
* send / receive of files and directory listings
|
||||
*/
|
||||
/**
|
||||
* @brief Size of the scratch buffer
|
||||
*
|
||||
* The scratch buffer is used for
|
||||
* send / receive of files and directory listings
|
||||
*/
|
||||
#define LEN_SCRATCHBUF 1024
|
||||
|
||||
/**
|
||||
* @brief Size of the receive buffer for ftp commands
|
||||
*
|
||||
* Buffer must be big enough to hold a complete ftp command.
|
||||
* command (4) + space (1) + path (MAX_PATH_LEN) + quotes (2) + CRLF (2) + end of string (1)
|
||||
*/
|
||||
/**
|
||||
* @brief Size of the receive buffer for ftp commands
|
||||
*
|
||||
* Buffer must be big enough to hold a complete ftp command.
|
||||
* command (4) + space (1) + path (MAX_PATH_LEN) + quotes (2) + CRLF (2) + end of string (1)
|
||||
*/
|
||||
#define LEN_RXBUF (MAX_PATH_LEN + 10)
|
||||
|
||||
/**
|
||||
* @brief activates ftp extentions according to RFC 3659
|
||||
*/
|
||||
/**
|
||||
* @brief activates ftp extentions according to RFC 3659
|
||||
*/
|
||||
#define RFC3659 1
|
||||
|
||||
/**
|
||||
* @brief set to 1 to activate debug messages on stdout
|
||||
*/
|
||||
//#define DBG_LOG 1
|
||||
/**
|
||||
* @brief set to 1 to activate debug messages on stdout
|
||||
*/
|
||||
//#define DBG_LOG 1
|
||||
|
||||
/**
|
||||
* @brief set to 1 if target-plattform supports ANSI-C file-IO functions
|
||||
*/
|
||||
/**
|
||||
* @brief set to 1 if target-plattform supports ANSI-C file-IO functions
|
||||
*/
|
||||
#define ANSI_FILE_IO 1
|
||||
|
||||
#endif /* FTPCONFIG_H_ */
|
||||
|
Reference in New Issue
Block a user