view src/fetch.h @ 164:94f2e5607772 noffle

[svn] * src/client.c,src/protocol.c,src/util.h,src/util.c: Common up repeated signal handler setting code into Utl_installSignalHandler. * src/client.c: Ensure Client_retrieveArt always exits with the global lock held. Previously it would be held on error, not held if OK.
author bears
date Thu, 25 Jan 2001 11:00:03 +0000
parents 32ba1198c6fa
children 09ca6eb5c7ff
line wrap: on
line source

/*
  fetch.h

  Do the daily business by using client.c

  $Id: fetch.h 51 2000-05-05 23:49:38Z uh1763 $
*/

#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 );

void
Fetch_getNewGrps( void );

void
Fetch_updateGrps( void );

void
Fetch_getReq_( void );

void
Fetch_postArts( void );

/* Get new articles in group "grp", using fetch mode "mode". */
void
Fetch_getNewArts( const char *grp, FetchMode mode );

#endif