/************************************************************************/
/* Copyright 2003-2012 MBARI						*/
/************************************************************************/
/* Summary  : Definitions for Utility library for BEDS			*/
/* Filename : utils.h							*/
/* Author   : Robert Herlien (rah)					*/
/* Project  : Benthic Event Detection System (BEDS)			*/
/* Revision: 1.0							*/
/* Created  : 09/28/2012 from OASIS utils.h				*/
/*									    */
/* 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:						*/
/* 28sep2012 rah - created from OASIS utils.h				*/
/* $Log$
 */
/************************************************************************/

#ifndef INCutilsh
#define INCutilsh	1

#include <stdio.h>

/****************************************/
/* Function Declarations		*/
/****************************************/

MBool	delimit(Reg char c);
Void	removeNewline(char *s);
int	strcasecmp(const char *s1, const char *s2);
int	strncasecmp(const char *s1, const char *s2, int len);
Nat16	readWord(FILE *fp);
Nat32	readLong(FILE *fp);
Int32	getDuration(char *spec);
Nat32	getTimespec(char *spec);
Void	printTimespec(MBool lng);

#endif	/* INCutilsh */
