view src/fetch.h @ 494:372f8b55506e noffle

[svn] Apply patch from Jan De Luyck. Add new option 'add-messageid-if-missing', which optionally postpones adding a message ID to the upstream server. If this is done, post-locally must be off. This is to deal with an upstream server troubling Jan. It usually (but not always) rejects posts with a Noffle message ID. I have changed Jan's original option of 'add-message-id-if-missing' for consistency with 'replace-messageid' and added the manual page entry. See SourceForge feature request 1513395.
author bears
date Wed, 12 Jul 2006 20:26:41 +0100
parents 09ca6eb5c7ff
children
line wrap: on
line source

/*
  fetch.h

  Do the daily business by using client.c

  $Id: fetch.h 279 2001-05-09 11:33:43Z bears $
*/

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

Bool
Fetch_getNewGrps( void );

Bool
Fetch_updateGrps( void );

Bool
Fetch_getReq_( void );

Bool
Fetch_postArts( void );

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

#endif