view post.h @ 38:8e972daaeab9 noffle

[svn] Applied patch from Jim Hague: - Forget cached group info when group database closed. - Added list of 'forbidden' newsgroup specs. - Fixed problem with article numbering if the overview file empties. - Changed %i to %d in sscanfs (%i interprets leading zeros as octal numbers) - New groups now always start numbering at article 1. - Record newsgroup posting status. Enforce it at posting time. Added --modify - Added group deletion. - Added wildmat code taken from INN
author enz
date Fri, 05 May 2000 08:23:15 +0100
parents 526a4c34ee2e
children
line wrap: on
line source

/*
  post.h

  Take a single article received in its entirety without an overview
  (i.e. received via at the server via a POST), and add it to the database
  and (possibly multiple) group(s).

  $Id: post.h 32 2000-04-29 14:45:56Z enz $
*/

#ifndef POST_H
#define POST_H

#include "common.h"

/* Register an article for posting. */
Bool
Post_open( const char * text );

/* Add the article to a group. */
Bool
Post_add ( const char * grp );
   
/* Done with article - tidy up. */
void
Post_close( void );

#endif