/************************************************************************/
/* Copyright 2015-2016 MBARI                                            */
/************************************************************************/
/* Summary  : Include file for Oasis5 Debug routines                    */
/* Filename : o5debug.h                                                 */
/* Author   : Robert Herlien (rah)                                      */
/* Project  : Oasis5                                                    */
/* Revision: 1.0                                                        */
/* Created  : 02/11/2016 from mvdebug.h (FOCE)                          */
/*                                                                          */
/* MBARI provides this documentation and code "as is", with no warranty,    */
/* express or implied, of its quality or consistency. It is provided without*/
/* support and without obligation on the part of the Monterey Bay Aquarium  */
/* Research Institute to assist in its use, correction, modification, or    */
/* enhancement. This information should not be published or distributed to  */
/* third parties without specific written permission from MBARI.            */
/*                                                                          */
/************************************************************************/
/* Modification History:                                                */
/* 11feb2016 rah - created from mvdebug.h FOCE project                  */
/************************************************************************/

#ifndef O5DEBUG_H
#define O5DEBUG_H

#include <GenericTypeDefs.h>


/********************************/
/*  Typedefs and Defines        */
/********************************/

/* Return codes from function execution         */
#define CONTINUE 0
#define EXIT    (-2)


/********************************/
/*   Function Declarations      */
/********************************/

void    debugMenu(UINT port);
int	setDebugLevel(int port, unsigned int level);
unsigned int getDebugLevel(void);
int	dbgPrint(const char *format, ...);

#endif 
