From db63333af9f926e7fd78363e38ae6276d711be4e Mon Sep 17 00:00:00 2001 From: MarkRivers Date: Sat, 2 Apr 2011 15:05:46 +0000 Subject: [PATCH] Made work with C++ --- motorApp/NewportSrc/xps_ftp.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/motorApp/NewportSrc/xps_ftp.h b/motorApp/NewportSrc/xps_ftp.h index 8e46b3c6..5ec4c736 100644 --- a/motorApp/NewportSrc/xps_ftp.h +++ b/motorApp/NewportSrc/xps_ftp.h @@ -49,6 +49,9 @@ #define RETURN_SIZE 1500 /* size of a return (size of standard IP package) */ #define PATH_SIZE 256 /* size of path */ +#ifdef __cplusplus +extern "C" { +#endif /******[ global variables ]******************************************/ @@ -61,3 +64,7 @@ int ftpDisconnect (int); int ftpChangeDir (int, char*); int ftpRetrieveFile (int, char*); int ftpStoreFile(int, char*); + +#ifdef __cplusplus +} +#endif