/* %Z%%M% %I% %E% */

/*
 * Copyright (c) 1990, 1991, 1995 by Wayne C. Gramlich.
 * All rights reserved.
 *
 * Permission to use, copy, modify, distribute, and sell this software
 * for any purpose is hereby granted without fee provided that the above
 * copyright notice and this permission are retained.  The author makes
 * no representations about the suitability of this software for any purpose.
 * It is provided "as is" without express or implied warranty.
 */

/* Generic heap allocator implementation definitions: */

#ifndef HEAP_DEFS_H
#define HEAP_DEFS_H

#ifndef HEAP_EXPORTS_H
#include "heap_exports.h"
#endif

struct Heap_struct {
	Heap_pointer_routine	alloc;
	Heap_void_routine	dump;
	Heap_void_routine	free;
	Heap_handle		handle;
	Heap_pointer_routine	realloc;
};

struct Heap_size_struct {
	Heap		heap;
	int		size;
};

#endif /* HEAP_DEFS_H */

