Parent Directory
|
Revision Log
|
Revision Graph
Importing web-site building process.
1 | adcroft | 1.1 | /* httpserver.h |
2 | **/ | ||
3 | |||
4 | #ifndef __HTTPSERVER_H | ||
5 | #define __HTTPSERVER_H | ||
6 | |||
7 | typedef struct httpserverinfo { | ||
8 | char *baseurl; | ||
9 | |||
10 | time_t lastretrieval; | ||
11 | |||
12 | char *useragent; | ||
13 | struct robotrules *robotrules; | ||
14 | |||
15 | struct httpserverinfo *next; | ||
16 | } httpserverinfo; | ||
17 | |||
18 | typedef struct robotrules { | ||
19 | char *disallow; | ||
20 | struct robotrules *next; | ||
21 | } robotrules; | ||
22 | |||
23 | |||
24 | |||
25 | httpserverinfo *getserverinfo (SWISH *sw, char *url); | ||
26 | int urldisallowed (SWISH *sw, char *url); | ||
27 | int equivalentserver (SWISH *sw, char *url, char *baseurl); | ||
28 | |||
29 | |||
30 | #endif | ||
31 |
ViewVC Help | |
Powered by ViewVC 1.1.22 |