diff options
| author | 2009-05-31 09:16:50 +0000 | |
|---|---|---|
| committer | 2009-05-31 09:16:50 +0000 | |
| commit | 71d8b9891a55151b80e6b37e0fd1a8e75fa529d1 (patch) | |
| tree | c255d1b19a357b3e9230c4aba23ed40fc48a798e /gnu/usr.bin/lynx/WWW/Library/Implementation/HTTP.h | |
| parent | indent (diff) | |
| download | wireguard-openbsd-71d8b9891a55151b80e6b37e0fd1a8e75fa529d1.tar.xz wireguard-openbsd-71d8b9891a55151b80e6b37e0fd1a8e75fa529d1.zip | |
Update to lynx-2.8.6.rel5, with our local patches maintained where relevant.
tests from miod@ sthen@ jmc@ jsing@
two additional fixes from miod:
- fix uninitialized stack variable use, leading to occasional crash.
- modify the socklen_t test to include <sys/types.h>, fixes gcc2 build failures
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 */ |
