view src/post.h @ 94:be450ac830b2 noffle

[svn] Observe Expires: header
author bears
date Fri, 19 May 2000 16:15:45 +0100
parents 1fcdced0246e
children 3b4db42990e0
line wrap: on
line source

/*
  post.h

  Take the text of a single article, parse it and add/amend headers as
  necessary, and add to the local database and/or queue for external
  posting as appropriate.

  $Id: post.h 100 2000-05-18 12:17:23Z bears $
*/

#ifndef POST_H
#define POST_H

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

#include "common.h"

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

/*
  Post the article. If localOnly, article is only posted to local
  groups, and is posted regardless of group posting status.
 */
Bool
Post_post( Bool localOnly );
   
/* Done with article - tidy up. */
void
Post_close( void );

#endif