/*$cb
 *    This file is a part of OpenMHP VDR plugin.
 *
 *    Copyright (C) 2005 Mikko Novaro <miknov@gmail.com>
 *
 *    See README file for licensing and contact information.
 $ce*/

#ifndef _VDR_OPENMHP_MACROS_H_
#define _VDR_OPENMHP_MACROS_H_

#include <stdio.h>

#ifdef DEBUG_OPENMHP
#define DBG(msg...) do { printf("VDR-OPENMHP (D): "); printf(msg); printf("\n"); } while(0)
#endif

#ifndef DEBUG_OPENMHP
#define DBG(msg...) ;
#endif

#define MSG(msg...) do { printf("VDR-OPENMHP (M): "); printf(msg); printf("\n"); } while(0)
#define ERR(msg...) do { printf("VDR-OPENMHP (E): "); printf(msg); printf("\n"); } while(0)

#endif
