File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -69,19 +69,19 @@ typedef uint16_t port_t;
6969extern "C" {
7070#endif
7171
72- int VERBOSE_MODE_ENABLED ;
72+ extern int VERBOSE_MODE_ENABLED ;
7373
7474typedef ip_t (* ftpFindExternalFTPServerIpType )(ip_t clientIp );
7575typedef void (* ftpAddUPNPPortForwardType )(int internalPort , int externalPort );
7676typedef void (* ftpRemoveUPNPPortForwardType )(int internalPort , int externalPort );
7777typedef int (* ftpIsValidClientType )(ip_t clientIp );
7878typedef int (* ftpIsClientAllowedToGetFileType )(ip_t clientIp , const char * username , const char * filename );
7979
80- ftpFindExternalFTPServerIpType ftpFindExternalFTPServerIp ;
81- ftpAddUPNPPortForwardType ftpAddUPNPPortForward ;
82- ftpRemoveUPNPPortForwardType ftpRemoveUPNPPortForward ;
83- ftpIsValidClientType ftpIsValidClient ;
84- ftpIsClientAllowedToGetFileType ftpIsClientAllowedToGetFile ;
80+ extern ftpFindExternalFTPServerIpType ftpFindExternalFTPServerIp ;
81+ extern ftpAddUPNPPortForwardType ftpAddUPNPPortForward ;
82+ extern ftpRemoveUPNPPortForwardType ftpRemoveUPNPPortForward ;
83+ extern ftpIsValidClientType ftpIsValidClient ;
84+ extern ftpIsClientAllowedToGetFileType ftpIsClientAllowedToGetFile ;
8585
8686#ifdef __cplusplus
8787}
Original file line number Diff line number Diff line change 3030#include "ftp.h"
3131#include "ftpMessages.h"
3232
33+ int VERBOSE_MODE_ENABLED ;
34+
35+ ftpFindExternalFTPServerIpType ftpFindExternalFTPServerIp ;
36+ ftpAddUPNPPortForwardType ftpAddUPNPPortForward ;
37+ ftpRemoveUPNPPortForwardType ftpRemoveUPNPPortForward ;
38+ ftpIsValidClientType ftpIsValidClient ;
39+ ftpIsClientAllowedToGetFileType ftpIsClientAllowedToGetFile ;
3340
3441/**
3542 * @brief server-sockets that listens for incoming connections
You can’t perform that action at this time.
0 commit comments