view src/post.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 1fcdced0246e
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 51 2000-05-05 23:49:38Z uh1763 $
*/

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

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

#endif