/*
 * macro.h - Copyright 2000, 2001 Cosimo Alfarano <Alfarano@CS.UniBo.It>
 * You can use this software under the terms of the GPL. If we meet some day,
 * and you think this stuff is worth it, you can buy me a beer in return.
 *
 * Thanks to md for this useful formula. Beer is beer.
 */


#ifndef _macro_h_
#define _macro_h_

#define LINELEN		2048
#define TRUE		1
#define FALSE		0

/*
#define WITHQUOTES 
#define WITHANGBRACKETS
*/

#define ERR(a,b...)     fprintf(stderr, a, ## b)

/* Define it for debug info on stderr (better if in .c module ...) */
/*
#ifndef DEBUG
	#define DEBUG
#endif
*/


#ifdef DEBUG
        #define DBG(a...)	fprintf(stderr,  ## a)
	/* for a verbose debug*/
        #define VDBG(a,b...)	fprintf(stderr, "%s(): " a, __FUNCTION__ , ## b)
#else
        #define DBG(a...)
        #define VDBG(a...)
#endif


#endif

/* EOF */
