ftp_server_events.h File Reference

FTP server (event handlers) More...

#include "ftp/ftp_server.h"

Go to the source code of this file.

Macros

#define FTP_SERVER_180_DAYS   (180 * 86400)
 

Functions

void ftpServerControlEventHandler (FtpServerContext *context, FtpClientConnection *connection, uint_t eventFlags)
 Control connection event handler. More...
 
void ftpServerDataEventHandler (FtpServerContext *context, FtpClientConnection *connection, uint_t eventFlags)
 Data connection event handler. More...
 
void ftpServerSendData (FtpServerContext *context, FtpClientConnection *connection)
 Send data on the data connection. More...
 
void ftpServerReceiveData (FtpServerContext *context, FtpClientConnection *connection)
 Receive data on the data connection. More...
 

Detailed Description

FTP server (event handlers)

License

Copyright (C) 2010-2018 Oryx Embedded SARL. All rights reserved.

This file is part of CycloneTCP Open.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Author
Oryx Embedded SARL (www.oryx-embedded.com)
Version
1.9.0

Definition in file ftp_server_events.h.

Macro Definition Documentation

◆ FTP_SERVER_180_DAYS

#define FTP_SERVER_180_DAYS   (180 * 86400)

Definition at line 36 of file ftp_server_events.h.

Function Documentation

◆ ftpServerControlEventHandler()

void ftpServerControlEventHandler ( FtpServerContext context,
FtpClientConnection connection,
uint_t  eventFlags 
)

Control connection event handler.

Parameters
[in]contextPointer to the FTP server context
[in]connectionPointer to the client connection
[in]eventFlagsEvent to be processed

Definition at line 71 of file ftp_server_events.c.

◆ ftpServerDataEventHandler()

void ftpServerDataEventHandler ( FtpServerContext context,
FtpClientConnection connection,
uint_t  eventFlags 
)

Data connection event handler.

Parameters
[in]contextPointer to the FTP server context
[in]connectionPointer to the client connection
[in]eventFlagsEvent to be processed

Definition at line 159 of file ftp_server_events.c.

◆ ftpServerReceiveData()

void ftpServerReceiveData ( FtpServerContext context,
FtpClientConnection connection 
)

Receive data on the data connection.

Parameters
[in]contextPointer to the FTP server context
[in]connectionPointer to the client connection

Definition at line 423 of file ftp_server_events.c.

◆ ftpServerSendData()

void ftpServerSendData ( FtpServerContext context,
FtpClientConnection connection 
)

Send data on the data connection.

Parameters
[in]contextPointer to the FTP server context
[in]connectionPointer to the client connection

Definition at line 223 of file ftp_server_events.c.