Mercurial > noffle
view src/pseudo.h @ 193:021d145e34e9 noffle
[svn] * src/fetch.c: Only leave articles in the requested list if the error
fetching them was fatal. Otherwise article requests will accumulate
indefinitely (e.g retrieving through NNTPcache when it can't find
the body of an article, now or event. Yes, this happened to me; I
had nearly 2000 requests backed up and never being cleared).
* src/group.c: The weekend's change introduced code that causes a bus
error on Sparc ( *(time_t *)p = xxx ). Replace with a safe memcpy,
and also use memcpy when reading the Entry and time items to remove
warnings on Sparc compilation.
author | bears |
---|---|
date | Mon, 22 Oct 2001 14:41:43 +0100 |
parents | 22b81617d427 |
children |
line wrap: on
line source
/* pseudo.h Handling of pseudo articles. $Id: pseudo.h 236 2000-12-05 19:50:09Z enz $ */ #ifndef PSEUDO_H #define PSEUDO_H #if HAVE_CONFIG_H #include <config.h> #endif #include "over.h" /* General info is a special pseudo message for groups not on fetchlist. It is never stored in database, but generated every time a content is read. However the group counter is always increased. This ensures that there is always at least 1 article visible (even if the user deletes it) for using the auto-subscribe option. */ Bool Pseudo_isGeneralInfo( const char *msgId ); void Pseudo_appGeneralInfo( void ); const char * Pseudo_generalInfoHead( void ); const char * Pseudo_generalInfoBody( void ); const char * Pseudo_markedBody( void ); const char * Pseudo_alreadyMarkedBody( void ); const char * Pseudo_markingFailedBody( void ); void Pseudo_retrievingFailed( const char *msgId, const char *reason ); /* Other pseudo articles are stored in database and can contain dynamically generated information about the failure. */ void Pseudo_cntInconsistent( const char *grp, int first, int last, int next, int refetch ); void Pseudo_missArts( const char *grp, int first, int next ); void Pseudo_autoUnsubscribed( const char *grp, int days ); void Pseudo_autoSubscribed( void ); #endif