1 /* 2 * $LynxId: HTTP.h,v 1.11 2012/02/23 00:41:07 tom Exp $ 3 * 4 * /Net/dxcern/userd/timbl/hypertext/WWW/Library/Implementation/HTTP.html 5 * HYPERTEXT TRANFER PROTOCOL 6 */ 7 #ifndef HTTP_H 8 #define HTTP_H 9 10 #include <HTAccess.h> 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 #ifdef GLOBALREF_IS_MACRO 16 extern GLOBALREF (HTProtocol, HTTP); 17 extern GLOBALREF (HTProtocol, HTTPS); 18 19 #else 20 GLOBALREF HTProtocol HTTP; 21 GLOBALREF HTProtocol HTTPS; 22 #endif /* GLOBALREF_IS_MACRO */ 23 24 #define URL_GET_METHOD 1 25 #define URL_POST_METHOD 2 26 #define URL_MAIL_METHOD 3 27 28 /* 29 * Special value for 'reloading' used to tell HTLoadDocument() that the 30 * user asked for a reload, versus Lynx doing a reload for other reasons. 31 */ 32 #define REAL_RELOAD (TRUE + 1) 33 34 extern int ws_read_per_sec; 35 extern BOOLEAN reloading; 36 extern char *redirecting_url; 37 extern BOOL permanent_redirection; 38 extern BOOL redirect_post_content; 39 40 #ifdef USE_SSL 41 extern SSL *SSL_handle; 42 #endif 43 44 #ifdef __cplusplus 45 } 46 #endif 47 #endif /* HTTP_H */ 48