Mercurial > noffle
view src/post.h @ 281:5eece4dfd945 noffle
[svn] * src/log.c,src/log.h: Add Log_fatal() for reporting fatal errors
and exiting, Log_gdbm_fatal() for the the same but specifically as
a GDBM error reporting function, and a new log debug level AUTH for
a forthcoming authentication mechanism.
* src/database.c,src/group.c: Provide new gdbm error function to all
gdbm opens.
* src/noffle.c: Add atexit() to always close databases on a program-
inspired exit.
* src/content.c,src/dynamicstring.c,src/fetchlist.c,src/filter.c,
src/itemlist.c,src/log.c,src/log.h,src/over.c,src/protocol.h,
src/request.c,src/util.c: Use Log_fatal where appropriate.
author | bears |
---|---|
date | Fri, 27 Dec 2002 21:48:25 +0000 |
parents | 1c7303c71f66 |
children |
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 227 2000-10-26 21:21:13Z bears $ */ #ifndef POST_H #define POST_H #if HAVE_CONFIG_H #include <config.h> #endif #include "common.h" /* Flags for Post_open */ #define POST_ADD_ORG 0001 #define POST_DEBUG 0002 #define POST_ADD_SIG 0004 #define POST_ADD_FROM 0010 /* Register an article for posting. */ Bool Post_open( const char * text, unsigned flags ); /* Post the article. */ Bool Post_post( void ); /* Done with article - tidy up. */ void Post_close( void ); #endif