Mercurial > noffle
view src/common.h @ 152:ca9769519c96 noffle
[svn] * src/post.c: When posting to a non-local moderated group, only
post to one server. Don't want multiple upstream servers each
mailing the moderator. Non-moderated groups post to all servers
groups in the article are fetched from - otherwise can't be sure
an article cross-posted to a netwide group and a restricted one
obtained from a just one server will propagate properly.
author | bears |
---|---|
date | Thu, 26 Oct 2000 22:55:49 +0100 |
parents | 32ba1198c6fa |
children | 93d5d8b098da |
line wrap: on
line source
/* common.h Common declarations. $Id: common.h 51 2000-05-05 23:49:38Z uh1763 $ */ #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 #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