view src/fetch.h @ 58:b4e6f7f96135 noffle

[svn] Add some intermediate variables for easier debugging in needsMark(). It seems that thread mode is sometimes not working. Changed some variable types and used some casts to avoid compiler warnings about signedness. In general, int should be used for parameters for allowing a signedness assertion in the function.
author enz
date Fri, 12 May 2000 17:52:07 +0100
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