Mercurial > noffle
view src/common.h @ 494:372f8b55506e noffle
[svn] Apply patch from Jan De Luyck. Add new option 'add-messageid-if-missing',
which optionally postpones adding a message ID to the upstream server.
If this is done, post-locally must be off.
This is to deal with an upstream server troubling Jan. It usually (but
not always) rejects posts with a Noffle message ID.
I have changed Jan's original option of 'add-message-id-if-missing'
for consistency with 'replace-messageid' and added the manual page entry.
See SourceForge feature request 1513395.
author | bears |
---|---|
date | Wed, 12 Jul 2006 20:26:41 +0100 |
parents | 21300895412f |
children |
line wrap: on
line source
/* common.h Common declarations. $Id: common.h 517 2003-04-03 17:21:24Z bears $ */ #ifndef COMMON_H #define COMMON_H #if HAVE_CONFIG_H #include <config.h> #endif #include <stdio.h> #include <stdlib.h> #include <string.h> #define FALSE 0 #define TRUE !0 #define MAXCHAR 2048 #define MAXCHAR_STR "2048" /* limited sscanf() format string: */ #define MAXCHAR_FMT "%2048s" #ifdef DEBUG #include <assert.h> #define ASSERT( x ) \ if ( ! ( x ) ) \ Log_err( "ASSERTION FAILED: %s line %i", __FILE__, __LINE__ ); \ assert( x ) #else #define ASSERT( x ) #endif typedef int Bool; typedef char Str[ MAXCHAR ]; #endif