/*-=-=-=-=-=-=-=-=-=-=-=- RCCL/RCI Notice of Copyright -=-=-=-=-=-=-=-=-=-=-*
 *									    *
 *	Copyright (C) 1987, 1991 by John E. Lloyd.			    *
 *									    *
 *	Information on copyright permissions, as well as a complete	    *
 *	disclaimer of warranty, is given in the file COPYRIGHT.		    *
 *									    *
 *-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/

#ifndef _BUDDYALLOC
#define _BUDDYALLOC

#define MAX_K 	32

typedef struct _BHEAD {
	struct _BHEAD *next;
	struct _BHEAD *prev;
	unsigned char size;
	unsigned char used;
} BHEAD;

typedef struct {
	int smallK;
	int largeK;
	BHEAD avail[MAX_K];
	void *base;	
} BINFO;

#endif
