comparison 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
comparison
equal deleted inserted replaced
87:bf8c97460fd7 88:1fcdced0246e
1 /* 1 /*
2 post.h 2 post.h
3 3
4 Take a single article received in its entirety without an overview 4 Take the text of a single article, parse it and add/amend headers as
5 (i.e. received via at the server via a POST), and add it to the database 5 necessary, and add to the local database and/or queue for external
6 and (possibly multiple) group(s). 6 posting as appropriate.
7 7
8 $Id: post.h 51 2000-05-05 23:49:38Z uh1763 $ 8 $Id: post.h 100 2000-05-18 12:17:23Z bears $
9 */ 9 */
10 10
11 #ifndef POST_H 11 #ifndef POST_H
12 #define POST_H 12 #define POST_H
13 13
19 19
20 /* Register an article for posting. */ 20 /* Register an article for posting. */
21 Bool 21 Bool
22 Post_open( const char * text ); 22 Post_open( const char * text );
23 23
24 /* Add the article to a group. */ 24 /*
25 Post the article. If localOnly, article is only posted to local
26 groups, and is posted regardless of group posting status.
27 */
25 Bool 28 Bool
26 Post_add ( const char * grp ); 29 Post_post( Bool localOnly );
27 30
28 /* Done with article - tidy up. */ 31 /* Done with article - tidy up. */
29 void 32 void
30 Post_close( void ); 33 Post_close( void );
31 34