diff options
Diffstat (limited to 'gnu/usr.bin/lynx/WWW/Library/Implementation/HTTP.h')
| -rw-r--r-- | gnu/usr.bin/lynx/WWW/Library/Implementation/HTTP.h | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/gnu/usr.bin/lynx/WWW/Library/Implementation/HTTP.h b/gnu/usr.bin/lynx/WWW/Library/Implementation/HTTP.h index 971305f9855..1d5703220fb 100644 --- a/gnu/usr.bin/lynx/WWW/Library/Implementation/HTTP.h +++ b/gnu/usr.bin/lynx/WWW/Library/Implementation/HTTP.h @@ -7,26 +7,33 @@ #include <HTAccess.h> +#ifdef __cplusplus +extern "C" { +#endif #ifdef GLOBALREF_IS_MACRO -extern GLOBALREF (HTProtocol,HTTP); -extern GLOBALREF (HTProtocol,HTTPS); + extern GLOBALREF (HTProtocol, HTTP); + extern GLOBALREF (HTProtocol, HTTPS); + #else -GLOBALREF HTProtocol HTTP; -GLOBALREF HTProtocol HTTPS; -#endif /* GLOBALREF_IS_MACRO */ + GLOBALREF HTProtocol HTTP; + GLOBALREF HTProtocol HTTPS; +#endif /* GLOBALREF_IS_MACRO */ #define URL_GET_METHOD 1 #define URL_POST_METHOD 2 #define URL_MAIL_METHOD 3 -extern int ws_read_per_sec; -extern BOOL reloading; -extern char * redirecting_url; -extern BOOL permanent_redirection; -extern BOOL redirect_post_content; + extern int ws_read_per_sec; + extern BOOL reloading; + extern char *redirecting_url; + extern BOOL permanent_redirection; + extern BOOL redirect_post_content; #ifdef USE_SSL -extern SSL * SSL_handle; + extern SSL *SSL_handle; #endif -#endif /* HTTP_H */ +#ifdef __cplusplus +} +#endif +#endif /* HTTP_H */ |
