Mercurial > noffle
view src/fetch.h @ 183:c912e8288164 noffle
[svn] * src/client.c: Only bail out of fetching multiple articles if the
connection fails. If we do get a status from the upstream server
note it and see what is reported for the next article. Otherwise
failure to retrieve one article will cause all successive article
fetches to fail even through they would succeed if tried.
* src/lock.c: Fix assert in lazy locking. If another noffle signalled us
to release the lock at the next close, and then repeats the signal so that
it arrives during LOCK_closeDatabases, the signal handler was trying
to close the databases again.
author | bears |
---|---|
date | Tue, 15 May 2001 13:07:53 +0100 |
parents | 09ca6eb5c7ff |
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