#ident "$Id: debug.h,v 1.2 2006/06/28 18:10:51 wheeler Exp $"
/*
 *               Copyright (C) 2005, BroadOn Communications Corp.
 *
 *  These coded instructions, statements, and computer programs contain
 *  unpublished  proprietary information of BroadOn Communications Corp.,
 *  and  are protected by Federal copyright law. They may not be disclosed
 *  to  third  parties or copied or duplicated in any form, in whole or in
 *  part, without the prior written consent of BroadOn Communications Corp.
 *
 */

#ifndef DEBUG_H
#define DEBUG_H

#ifdef DEBUG
#define DPRINT(f, args...) printf("(%s) "f, __func__, ## args)
#else
#define DPRINT(f, args...)
#endif // DEBUG

#if defined(ERR_DEBUG) || defined (DEBUG)
#define ERR_DPRINT(f, args...) printf("(%s) "f, __func__, ## args)
#else
#define ERR_DPRINT(f, args...)
#endif // ERR_DEBUG || DEBUG

#ifdef RVL
#include "arm_stdint.h"
#endif

#include "md5.h"

void doSleep(const int numSecs);
void printMD5sum(const void* const ptr, const uint32_t numBytes);

#endif // DEBUG_H
