/*****************************************************************************/
/* Copyright 1992 to 1998 MBARI                                              */
/*****************************************************************************/
/* Summary  : Data Manager error checking functions                          */
/* Filename : dmCheck.h                                                      */
/* Author   : Andrew Pearce                                                  */
/* Project  : Tiburon                                                        */
/* Version  : Version 1.0                                                    */
/* Created  : 06/18/98                                                       */
/* Modified : 06/18/98                                                       */
/* Archived :                                                                */
/*****************************************************************************/
/* Modification History :                                                    */
/* $Header$
 * $Log$
 *
 */
/*****************************************************************************/

#ifndef _DM_CHECK_H
#define _DM_CHECK_H


#ifdef INCLUDE_PROTOTYPES

#ifdef __STDC__

Errno checkCreate(Errno status, char *itemName, MBool logWarning);

Errno checkLookup(DM_Item item, char *itemName);

Errno checkProvider(Errno status, char *errorMsg);

Errno checkConsumer(Errno status, char *errorMsg, MBool logWarning);

Errno checkWrite(Errno status, char *errorMsg);

Errno checkRead(Errno status, char *errorMsg, MBool logWarning);

Errno checkConnect(Errno status, char *errorMsg);

Errno checkGroup(Errno status, char *errorMsg);

Errno checkItemStatus(Errno status, char *errorMsg);

#endif /* __STDC__ */

#endif /* INCLUDE_PROTOTYPES */

#endif
