http.h
上传用户:qin5330
上传日期:2007-01-05
资源大小:114k
文件大小:1k
- /* http.h
- **/
- #ifndef __HTTP_H
- #define __HTTP_H
- typedef struct multiswline {
- struct swline *list;
- struct multiswline *next;
- } multiswline;
-
- extern char tmpdir[];
- extern char spiderdirectory[];
- extern multiswline *equivalentservers;
- /*
- ** use _AP() for easier cross-compiler (non-ANSI) porting
- ** <return value> <functionname> _AP( (<arg prototypes>) );
- */
- char *url_method _AP(( char *url, int *plen ));
- char *url_serverport _AP((char *url, int *plen));
- char *url_uri _AP((char *url, int *plen));
- int get _AP((char *contenttype_or_redirect, time_t *plastretrieval, char *url));
- int cmdf _AP((int (*cmd)(const char *), char *fmt, ...));
- char *readline _AP((FILE *fp));
- pid_t lgetpid _AP(());
- #endif