/************************************************************************/
/* Copyright 2003-2016 MBARI											*/
/************************************************************************/
/* Summary	: Definitions for OASIS5 Memory allocation					*/
/* Filename : malloc.h													*/
/* Author	: Robert Herlien (rah)										*/
/* Project	: OASIS Mooring Replacement (OASIS5)						*/
/* Revision: 1.0														*/
/* Created	: 06/28/2016												*/
/*																			*/
/* 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:												*/
/* 30jan2003 rah - created Oasis3 version								*/
/* 28jun2016 rah - created Oasis5 version from Oasis3 version			*/
/************************************************************************/

#ifndef INCmalloch
#define INCmalloch		1

#include <FreeRTOS.h>				/* FreeRTOS function definitions	*/
#include <task.h>					/* FreeRTOS task definitions		*/
#include <mbariTypes.h>
#include <oasis.h>


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

void	*malloc(size_t size);
void	*pmalloc(size_t n);
void	free(void *p);
void	mallocTaskExit(TaskHandle_t td);
CmdRtn	memCheck(Void);

#endif	/* INCmalloch */
