mikroSDK Reference Manual
ftp_server_data.h
Go to the documentation of this file.
1
31#ifndef _FTP_SERVER_DATA_H
32#define _FTP_SERVER_DATA_H
33
34//Dependencies
35#include "core/net.h"
36#include "ftp/ftp_server.h"
37
38//C++ guard
39#ifdef __cplusplus
40extern "C" {
41#endif
42
43//FTP server related functions
44void ftpServerRegisterDataChannelEvents(FtpClientConnection *connection,
45 SocketEventDesc *eventDesc);
46
47void ftpServerProcessDataChannelEvents(FtpClientConnection *connection,
48 uint_t eventFlags);
49
50error_t ftpServerOpenDataChannel(FtpClientConnection *connection);
51void ftpServerAcceptDataChannel(FtpClientConnection *connection);
52void ftpServerWriteDataChannel(FtpClientConnection *connection);
53void ftpServerReadDataChannel(FtpClientConnection *connection);
54void ftpServerCloseDataChannel(FtpClientConnection *connection);
55
56//C++ guard
57#ifdef __cplusplus
58}
59#endif
60
61#endif
error_t
Error codes.
Definition error.h:43
FTP server (File Transfer Protocol)
TCP/IP stack core.
Structure describing socket events.
Definition socket.h:395