about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTFTP.h
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation/HTFTP.h')
-rw-r--r--WWW/Library/Implementation/HTFTP.h25
1 files changed, 15 insertions, 10 deletions
diff --git a/WWW/Library/Implementation/HTFTP.h b/WWW/Library/Implementation/HTFTP.h
index 75e60aaf..a903bbb8 100644
--- a/WWW/Library/Implementation/HTFTP.h
+++ b/WWW/Library/Implementation/HTFTP.h
@@ -14,12 +14,14 @@
 #include <HTStream.h>
 #include <HTParse.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 #define FILE_BY_NAME 0
 #define FILE_BY_TYPE 1
 #define FILE_BY_SIZE 2
 #define FILE_BY_DATE 3
-
-extern int HTfileSortMethod;	/* specifies the method of sorting */
+    extern int HTfileSortMethod;	/* specifies the method of sorting */
 
 /* PUBLIC						 HTVMS_name()
  *		CONVERTS WWW name into a VMS name
@@ -32,8 +34,8 @@ extern int HTfileSortMethod;	/* specifies the method of sorting */
  *
  * Bug:	Returns pointer to static -- non-reentrant
  */
-extern char *HTVMS_name(const char *nn,
-			const char *fn);
+    extern char *HTVMS_name(const char *nn,
+			    const char *fn);
 
 /*
 
@@ -44,22 +46,25 @@ Retrieve File from Server
   returns                 Socket number for file if good.<0 if bad.
 
  */
-extern int HTFTPLoad(const char *name,
-		     HTParentAnchor *anchor,
-		     HTFormat format_out,
-		     HTStream *sink);
+    extern int HTFTPLoad(const char *name,
+			 HTParentAnchor *anchor,
+			 HTFormat format_out,
+			 HTStream *sink);
 
 /*
  *  This function frees any user entered password, so that
  *  it must be entered again for a future request. - FM
  */
-extern void HTClearFTPPassword(void);
+    extern void HTClearFTPPassword(void);
 
 /*
 
 Return Host Name
 
  */
-extern const char *HTHostName(void);
+    extern const char *HTHostName(void);
 
+#ifdef __cplusplus
+}
+#endif
 #endif