diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2005-01-02 23:49:58 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2005-01-02 23:49:58 -0500 |
commit | 1fc1d8afcb5b9947e2b9665514dbfd1e86c0bf3f (patch) | |
tree | a83fd699321c8545516d56abcda6c9718fd1f4fb /WWW/Library/Implementation/HTFTP.h | |
parent | bed9a2c79bfdde6e4ec89d9d02a5d6e88ae12f79 (diff) | |
download | lynx-snapshots-1fc1d8afcb5b9947e2b9665514dbfd1e86c0bf3f.tar.gz |
snapshot of project "lynx", label v2-8-6dev_10
Diffstat (limited to 'WWW/Library/Implementation/HTFTP.h')
-rw-r--r-- | WWW/Library/Implementation/HTFTP.h | 25 |
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 |