FTP control connection. More...
Go to the source code of this file.
Functions | |
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.
License
SPDX-License-Identifier: GPL-2.0-or-later
Copyright (C) 2010-2024 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.
- Version
- 2.4.4
Definition in file ftp_server_control.h.
Function Documentation
◆ ftpServerAcceptControlChannel()
void ftpServerAcceptControlChannel | ( | FtpServerContext * | context | ) |
Accept control connection.
- Parameters
-
[in] context Pointer to the FTP server context
Definition at line 277 of file ftp_server_control.c.
◆ ftpServerCloseControlChannel()
void ftpServerCloseControlChannel | ( | FtpClientConnection * | connection | ) |
Close control connection.
- Parameters
-
[in] connection Pointer 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.
- Parameters
-
[in] connection Pointer to the client connection [in] eventFlags Event to be processed
Definition at line 143 of file ftp_server_control.c.
◆ ftpServerRegisterControlChannelEvents()
void ftpServerRegisterControlChannelEvents | ( | FtpClientConnection * | connection, |
SocketEventDesc * | eventDesc | ||
) |
Register control connection events.
- Parameters
-
[in] connection Pointer to the client connection [in] eventDesc Socket events to be registered
Definition at line 52 of file ftp_server_control.c.