view src/server.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 7ba337dafb2c
children
line wrap: on
line source

/*
  server.h

  Be NNTP server on stdin/stdout.

  $Id: server.h 260 2001-02-25 23:29:50Z bears $
*/

#ifndef SERV_H
#define SERV_H

#if HAVE_CONFIG_H
#include <config.h>
#endif

void Server_run( void );

void Server_flushCache( void );

#endif