diff src/post.h @ 88:1fcdced0246e noffle

[svn] Move posting code to post.c, add command line posting
author bears
date Thu, 18 May 2000 13:17:23 +0100
parents 32ba1198c6fa
children 3b4db42990e0
line wrap: on
line diff
--- a/src/post.h	Thu May 18 13:11:05 2000 +0100
+++ b/src/post.h	Thu May 18 13:17:23 2000 +0100
@@ -1,11 +1,11 @@
 /*
   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).
+  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 51 2000-05-05 23:49:38Z uh1763 $
+  $Id: post.h 100 2000-05-18 12:17:23Z bears $
 */
 
 #ifndef POST_H
@@ -21,9 +21,12 @@
 Bool
 Post_open( const char * text );
 
-/* Add the article to a group. */
+/*
+  Post the article. If localOnly, article is only posted to local
+  groups, and is posted regardless of group posting status.
+ */
 Bool
-Post_add ( const char * grp );
+Post_post( Bool localOnly );
    
 /* Done with article - tidy up. */
 void