ftp_server_control.c File Reference

FTP control connection. More...

Go to the source code of this file.




void ftpServerRegisterControlChannelEvents (FtpClientConnection *connection, SocketEventDesc *eventDesc)
 Register control connection events. More...
void ftpServerProcessControlChannelEvents (FtpClientConnection *connection, uint_t eventFlags)
 Control connection event handler. More...
void ftpServerAcceptControlChannel (FtpServerContext *context)
 Accept control connection. More...
void ftpServerCloseControlChannel (FtpClientConnection *connection)
 Close control connection. More...

Detailed Description

FTP control connection.


SPDX-License-Identifier: GPL-2.0-or-later

Copyright (C) 2010-2020 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.

Oryx Embedded SARL (www.oryx-embedded.com)

Definition in file ftp_server_control.c.

Macro Definition Documentation



Definition at line 32 of file ftp_server_control.c.

Function Documentation

◆ ftpServerAcceptControlChannel()

void ftpServerAcceptControlChannel ( FtpServerContext context)

Accept control connection.

[in]contextPointer to the FTP server context

Definition at line 277 of file ftp_server_control.c.

◆ ftpServerCloseControlChannel()

void ftpServerCloseControlChannel ( FtpClientConnection connection)

Close control connection.

[in]connectionPointer to the client connection

Definition at line 417 of file ftp_server_control.c.

◆ ftpServerProcessControlChannelEvents()

void ftpServerProcessControlChannelEvents ( FtpClientConnection connection,
uint_t  eventFlags 

Control connection event handler.

[in]connectionPointer to the client connection
[in]eventFlagsEvent to be processed

Definition at line 143 of file ftp_server_control.c.

◆ ftpServerRegisterControlChannelEvents()

void ftpServerRegisterControlChannelEvents ( FtpClientConnection connection,
SocketEventDesc eventDesc 

Register control connection events.

[in]connectionPointer to the client connection
[in]eventDescEvent to be registered

Definition at line 52 of file ftp_server_control.c.