Line 0
Link Here
|
|
|
1 |
--- source/shared_lib/include/feathery_ftp/ftpTypes.h.orig 2020-08-25 07:39:46 UTC |
2 |
+++ source/shared_lib/include/feathery_ftp/ftpTypes.h |
3 |
@@ -69,7 +69,7 @@ typedef uint16_t port_t; |
4 |
extern "C" { |
5 |
#endif |
6 |
|
7 |
-int VERBOSE_MODE_ENABLED; |
8 |
+extern int VERBOSE_MODE_ENABLED; |
9 |
|
10 |
typedef ip_t (*ftpFindExternalFTPServerIpType)(ip_t clientIp); |
11 |
typedef void (*ftpAddUPNPPortForwardType)(int internalPort, int externalPort); |
12 |
@@ -77,11 +77,11 @@ typedef void (*ftpRemoveUPNPPortForwardType)(int inter |
13 |
typedef int (*ftpIsValidClientType)(ip_t clientIp); |
14 |
typedef int (*ftpIsClientAllowedToGetFileType)(ip_t clientIp, const char *username, const char *filename); |
15 |
|
16 |
-ftpFindExternalFTPServerIpType ftpFindExternalFTPServerIp; |
17 |
-ftpAddUPNPPortForwardType ftpAddUPNPPortForward; |
18 |
-ftpRemoveUPNPPortForwardType ftpRemoveUPNPPortForward; |
19 |
-ftpIsValidClientType ftpIsValidClient; |
20 |
-ftpIsClientAllowedToGetFileType ftpIsClientAllowedToGetFile; |
21 |
+extern ftpFindExternalFTPServerIpType ftpFindExternalFTPServerIp; |
22 |
+extern ftpAddUPNPPortForwardType ftpAddUPNPPortForward; |
23 |
+extern ftpRemoveUPNPPortForwardType ftpRemoveUPNPPortForward; |
24 |
+extern ftpIsValidClientType ftpIsValidClient; |
25 |
+extern ftpIsClientAllowedToGetFileType ftpIsClientAllowedToGetFile; |
26 |
|
27 |
#ifdef __cplusplus |
28 |
} |