/*
 * $Log: fetch,v $
 * Revision 1.5  1998/07/24 17:11:10  joseph
 * Added UI for adding URLs to a fetchfile
 *
 * Revision 1.4  1998/07/01 21:10:59  joseph
 * Added status window
 * Fixed persistent connections
 * Fixed magtags to only count processed url references
 * Fixed proxy_forunqualified, again.
 * Fixed leading/trailing spaces in urls...
 *
 * Revision 1.3  1998/06/05 22:55:27  joseph
 * URLs now moved to 'FETCHED' once they are fetched
 * Front end made proper
 * Added multiple fetch files + a menu in frontend
 * Fixed bugs with links containing url with spaces before them
 * Combined both makefilenames into one in misc.c
 * Added readtag and openfetch to http.
 * Keep FetchLog open for duration of fetch
 * Logfile now contains links to the orignal pages too
 * Added url_handled, returns true if the url is one we know how to fetch
 * Added shift to fetch without rewriting, and adjust to dump all flex
 * lists to files. (#define URLDUMP)
 * Frontend animation now updates every 0.5 secs, and has new rewrite icon
 * Added stopping / aborting of fetch / rewrite
 *
 * Revision 1.2  1998/05/27 22:41:22  joseph
 * Added external entries
 *
 * Revision 1.1.1.1  1997/12/29 14:37:55  jogu
 * WebGet Initial CMS Ver
 *
 */

#ifndef FETCH_H
#define FETCH_H
void httpfetch_setpoll(int no);
void httpfetch_removepoll(int no);
int httpfetch_kick(int x);

int httpfetch_init(int maxsess);
void httpfetch_finalise(void);
void httpfetch_close( void );
int httpfetch_poll(void);
void httpfetch_abort( void );
void httpfetch_stop( void );

#endif
