Mercurial > noffle
view src/fetch.h @ 180:09ca6eb5c7ff noffle
[svn] * TODO,src/client.c,src/client.h,src/fetch.c,src/fetch.h,src/noffle.c:
Improve error checking during fetches. A fetch is now aborted immediately
if the connection times out or if an unexpected response arrives.
This should fix problems with articles appearing in the wrong group,
and possibly other mysterious happenings.
author | bears |
---|---|
date | Wed, 09 May 2001 12:33:43 +0100 |
parents | 32ba1198c6fa |
children |
line wrap: on
line source
/* fetch.h Do the daily business by using client.c $Id: fetch.h 279 2001-05-09 11:33:43Z bears $ */ #ifndef FETCH_H #define FETCH_H #if HAVE_CONFIG_H #include <config.h> #endif #include "common.h" #include "database.h" #include "fetchlist.h" Bool Fetch_init( const char *serv ); void Fetch_close( void ); Bool Fetch_getNewGrps( void ); Bool Fetch_updateGrps( void ); Bool Fetch_getReq_( void ); Bool Fetch_postArts( void ); /* Get new articles in group "grp", using fetch mode "mode". */ Bool Fetch_getNewArts( const char *grp, FetchMode mode ); #endif