Mercurial > noffle
view src/outgoing.h @ 223:ffb1848a39db noffle
[svn] * src/util.c: Improve (correct) error detection when updating
timestamp file.
* src/content.h, src/content.c: Return Boolean success/fail from
Cont_write. Also ensure cont.first isn't polluted in the event
of a failed update.
* src/client.c,src/control.c,src/fetch.c,src/noffle.c,src/post.c,
src/pseudo.c: If Cont_write fails, don't do actions that need it to
have worked. Typically, don't update first and last article numbers
in group database.
* src/server.c: If groupinfo.lastupdate is unreadable or corrupt,
spot this and report it and give an explicit error when processing
NNTP NEWGROUPS command.
author | bears |
---|---|
date | Sun, 09 Dec 2001 12:31:57 +0000 |
parents | 32ba1198c6fa |
children |
line wrap: on
line source
/* outgoing.h Collection of posted articles. $Id: outgoing.h 51 2000-05-05 23:49:38Z uh1763 $ */ #ifndef OUT_H #define OUT_H #if HAVE_CONFIG_H #include <config.h> #endif #include "common.h" #include "dynamicstring.h" Bool Out_add( const char *serv, const char *msgId, const DynStr *artTxt ); /* Start enumeration. Return TRUE on success. */ Bool Out_first( const char *serv, Str msgId, DynStr *artTxt ); /* Continue enumeration. Return TRUE on success. */ Bool Out_next( Str msgId, DynStr *s ); /* Delete article from outgoing collection */ void Out_remove( const char *serv, const char *msgId ); /* Find server for outgoing message. */ Bool Out_find( const char *msgId, Str server ); #endif