| verzia 1.7, 2001/11/19 20:15:07 |
verzia 1.8, 2002/05/09 16:10:49 |
|
|
| /* |
/* |
| * Author: Lubomir Host 'rajo' <host8@kepler.fmph.uniba.sk> |
* Author: Lubomir Host 'rajo' <host8@kepler.fmph.uniba.sk> |
| * $Log$ |
* $Log$ |
| |
* Revision 1.8 2002/05/09 16:10:49 host8 |
| |
* * Test of cvs commit (loginfo.sh changed). |
| |
* * New implementation of HTTP protocol, doesn't work yet. |
| |
* |
| * Revision 1.7 2001/11/19 20:15:07 host8 |
* Revision 1.7 2001/11/19 20:15:07 host8 |
| * Http protocol probably works fine. |
* Http protocol probably works fine. |
| * |
* |
| Riadok 56 typedef struct HTTP_REQUEST_STRUCT { |
|
| Riadok 60 typedef struct HTTP_REQUEST_STRUCT { |
|
| char *ret_val; |
char *ret_val; |
| char *host; |
char *host; |
| char *file; |
char *file; |
| |
char *referer; |
| } HTTP_REQUEST; |
} HTTP_REQUEST; |
| |
|
| extern HTTP_REQUEST **requests; |
extern HTTP_REQUEST **requests; |
| Riadok 66 extern int http_request(int method, char |
|
| Riadok 71 extern int http_request(int method, char |
|
| extern char *get_last_hostname(void); |
extern char *get_last_hostname(void); |
| extern void http_init(void); |
extern void http_init(void); |
| extern void free_requests(HTTP_REQUEST **req); |
extern void free_requests(HTTP_REQUEST **req); |
| |
extern void http_clean_referer(HTTP_REQUEST **req); |
| |
|
| #endif /* #ifndef _HTTP_H */ |
#endif /* #ifndef _HTTP_H */ |
| |
|