Data types used by FTP library. More...
Data Structures | |
struct | ftp_upload_config_t |
FTP upload configuration, used by ftp_async_upload() More... | |
Typedefs | |
typedef zos_result_t(* | ftp_state_change_func_t) (ftp_state_t new_state) |
FTP state change callback. More... | |
typedef void * | ftp_context_t |
Generic FTP context object. | |
Enumerations | |
enum | ftp_state_t { FTP_STATE_IDLE = 0, FTP_STATE_INIT = 1, FTP_STATE_OPEN = 2, FTP_STATE_LOGIN = 3, FTP_STATE_USER = 4, FTP_STATE_PASS = 5, FTP_STATE_CWD = 6, FTP_STATE_TYPE = 7, FTP_STATE_LISTEN = 8, FTP_STATE_ASK = 9, FTP_STATE_STOR = 10, FTP_STATE_DATA = 11, FTP_STATE_QUIT = 12, FTP_STATE_CLOSE = 13, FTP_STATE_END = 14, FTP_STATE_FAIL = 15, FTP_STATE_COUNT } |
Current FTP state. More... | |
Detailed Description
Data types used by FTP library.
Typedef Documentation
typedef zos_result_t(* ftp_state_change_func_t) (ftp_state_t new_state) |
FTP state change callback.
- Parameters
-
new_state
New state of FTP state-machine, see ftp_state_t
- Returns
- ZOS_SUCCESS if FTP should continue processing, anything else is an error and FTP should stop processing
Enumeration Type Documentation
enum ftp_state_t |
Current FTP state.